.navigation .level0 .submenu li {
    position: static !important;
}

.navigation .level0 .submenu .submenu {
    min-height: 100% !important;
}

.navigation .level1 .submenu {
    background: transparent !important;
}

.navigation .level1 > .submenu > li {
    background: #444 !important;
}

.navigation .ui-menu ul.level0 > .level1 > .submenu {
    top: -3px !important;
}

.navigation .ui-menu ul.level0 > .level1 > .submenu li .submenu {
    top: 0 !important;
}

.navigation .level1 .submenu.level2 {
    background: transparent !important;
    border: none !important;
}

.navigation .level1 .submenu.level2 li {
    background: #555 !important;
}

.navigation .level0 .submenu {
    border: none !important;
}

.fieldset.create.account .field-recaptcha {
    border-top: 2px solid #5a5a5a;
    float: left;
    width: 100%;
    padding-top: 20px;
}

.form.create.account.form-create-account .actions-toolbar.mf-initial {
    border: 0px;
}

.form.create.account.form-create-account .actions-toolbar.mf-initial p.required {
    margin-top: 0px;
}

.cms-home .page-wrapper .page-main .columns .column.main > .layout.layout-1-col.slide {
    min-height: auto !important;
}

/** FMOD-466 **/
@media screen and (max-width: 1024px) {
    .navigation .ui-menu ul.level0 > .level1 > .submenu li .submenu,
    .navigation .ui-menu ul.level0 > .level1 > .submenu {
        top: 50px !important;
    }

    .navigation .level0 .submenu .submenu {
        background: #292929 !important;
    }
}

/** FMOD-469 **/
.checkout-index-index .opc-wrapper .checkout-shipping-method .methods-shipping .table-checkout-shipping-method .shipping_method_duration {
    padding-left: 0px !important;
}

.checkout-index-index .opc-wrapper .checkout-shipping-method .methods-shipping .table-checkout-shipping-method tbody tr.row {
    font-size: 14px !important;
}

/** FMOD-472 Laser Engraved Table Decoration 12595-SLOW-LZ **/
.has-error {
    border: 2px solid red !important;
}

.account.sales-order-shipment.page-layout-1column .order-details-items.shipments .order-items-shipment tbody dt.sub-label {
    padding-left: 20px;
}

.account.sales-order-shipment.page-layout-1column .order-details-items.shipments .order-items-shipment tbody dd.sub-label {
    padding-left: 20px;
}

.account.sales-order-shipment .order-details-items .table-wrapper .table tr td dt {
    margin-top: 10px;
}

/** FMOD-505 Magento Upgrade 2.4.7 **/
.account.sales-order-creditmemo .actions-toolbar .back span:before,
.account.sales-order-history .actions-toolbar .back span:before,
.account.sales-order-invoice .actions-toolbar .back span:before,
.account.sales-order-shipment .actions-toolbar .back span:before,
.account.sales-order-view .actions-toolbar .back span:before {
    content: "«" !important;
}

.wishlist-index-index .products-grid + .actions-toolbar .secondary:before {
    content: "«" !important;
}

.catalog-category-view .toolbar-products .toolbar-sorter, .catalogsearch-result-index .toolbar-products .toolbar-sorter {
    z-index: 100;
}

body.catalog-category-view .forcefullwidth_wrapper_tp_banner .cat-title {
    min-height: auto !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    margin-top: 15px !important;
    line-height: normal !important;
}

.block.filter.ajax-scroll-top.no-box-shadow.auto-close.show-selected-filters.active {
    z-index: 101 !important;
}

.catalog-category-view .toolbar-products .toolbar-sorter,
.catalogsearch-result-index .toolbar-products .toolbar-sorter {
    z-index: 100 !important;
}

.field.choice.rw-save-cc {
    display: flex;
    vertical-align: middle;
    align-items: normal;
    justify-content: left;
    text-align: left;
}

input#rootways_authorizecim_option_enable_vault {
    top: -10px !important;
}

.checkout-payment-method .payment-method-content .fieldset:not(:last-child) {
    margin-bottom: 0;
}

.account.customer-paymentinfo-index .manage-payment-method .box .checkout-payment-method .fieldset.address {
    float: left;
}

.messages {
    margin-top: 0px !important;
}

.requestquote-popup-content input[type="text"], input[type="password"], input[type="url"], input[type="tel"], input[type="search"], input[type="number"], input[type*="date"], input[type="email"] {
    background: #343434;
    border: none;
    color: #FFF;
}

.requestquote-popup-content textarea {
    background: #343434 !important;
    border: none;
    color: #FFF;
}

.products.wrapper ~ .toolbar .sorter {
    display: none !important;
}

.page-header .header.content .block-search .block-content .minisearch .search .control input {
    height: 50px !important;
}

.page-header .header.content .block-search .block-content .minisearch .actions .search {
    width: 50px !important;
    height: 50px !important;
}

.checkout-index-index .opc-block-summary .items-in-cart .product-item .product-item-name-block .checkout.action .checkout.action-cart-edit {
    font-size: 16px !important;
}

.minicart-items .action.edit>span {
    position: relative;
    font-weight: 600;
}

a.action.edit:hover,a.action.edit:active {
    color: #0095d7;
}
.checkout-cart-index .cart-container .table-wrapper .mobile_tbody .cart_actions .action-edit:before, .checkout-cart-index .cart-container .table-wrapper .table td.col.cart_actions .action-edit:before {
    content: none !important;
}

.checkout-cart-index .cart-container .table-wrapper .table td.col.cart_actions .action-edit,
.checkout-cart-index .cart-container .table-wrapper .mobile_tbody .cart_actions .action-edit {
    font-size: 16px !important;
    color: #0095d7;
    font-weight: 600;
}

@media screen and (min-width: 1024px) {
    body.catalog-category-view.category-banner-slider .forcefullwidth_wrapper_tp_banner {
        margin-top: -50px !important;
    }
}

@media screen and (max-width: 767px) {
    .checkout-index-index .checkout-payment-method #checkout-payment-method-load .payment-method-title {
        width: 80%;
        display: flex;
        vertical-align: middle;
        align-items: center;
        justify-content: left;
        text-align: left;
    }
}

@media only screen and (max-width: 767px) {
    .account.sales-order-view .order-actions-toolbar {
        width: 100%;
    }

    .data.table.table-credit-cards tr td {
        display: table-cell !important;
    }

    .checkout-index-index .checkout-container form .payment-method.choice label.label {
        width: 85% !important;
    }

    .catalog-category-view .toolbar-products .toolbar-sorter.sorter, .catalogsearch-result-index .toolbar-products .toolbar-sorter.sorter {
        z-index: 9;
    }

    .filter.active .filter-title strong:after {
        top: 60px !important;
    }

    .account .visible-account-dashboard {
        min-height: 40px;
    }

    .sidebar #layered-filter-block {
        overflow: visible;
    }

    .checkout-index-index .checkout-payment-method #checkout-payment-method-load .payment-method-title + .payment-method-content {
        width: 95% !important;
        padding: 0 0 20px !important;
    }
}

@media only screen and (max-width: 767px) {
    .catalog-category-view .page-main .products-grid .product-items .product-item:nth-of-type(odd) .product-item-details, .catalogsearch-result-index .page-main .products-grid .product-items .product-item:nth-of-type(odd) .product-item-details, .categories_new_class .products-grid .product-items .product-item:nth-of-type(odd) .product-item-details, .wishlist-index-index .products-grid .product-items .product-item:nth-of-type(odd) .product-item-details {
        padding-left: 6px !important;
    }

    .page-header .header.content .mobile_logo img {
        width: 100%;
        height: 100%;
        padding-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .catalog-category-view .page-main .products-grid .product-items .product-item .product-item-info .product-item-photo {
        display: table;
    }
}

div.guest-to-customer-assign-link {
    background-color: transparent;
}

#checkout .opc-wrapper #checkoutSteps .checkout-shipping-address .step-content .form-shipping-address #shipping-new-address-form .field > .label {
    display: block !important;
	height: auto !important;
    position: relative;
    margin: 0;	
}

#checkout .opc-wrapper #checkoutSteps .checkout-shipping-address .step-content .form-shipping-address #shipping-new-address-form fieldset.field.street{
	margin-bottom: 0 !important;
}

#checkout .opc-wrapper #checkoutSteps .checkout-shipping-address .step-content .form-shipping-address #shipping-new-address-form fieldset.field.street legend.label{
	display: none !important;
}
 

 #checkout .load-shipping-method,
 #checkout .continue-to-payment {
    background: #2d2d2d;
    border: none;
    box-shadow: 2px 2px 1px 1px rgba(0,0,0,.5);
 }

.checkout-index-index .checkout-container #checkoutSteps #shipping .step-title {
    border-top: none !important;
}
.checkout-index-index .onestepcheckout-description {
    border-bottom: 1px solid #525252 !important;
}

.checkout-index-index #address-validation {
	padding: 22px 30px !important;
    margin-top: 25px;
    background: #292929;
    width: 100%;
    float: left;
}

.checkout-index-index #address-validation .checkout-suggested-addresses .suggested-address {
	background: #292929;
    border: none;
}

.checkout-index-index #address-validation .checkout-suggested-addresses .suggested-address label .suggested-address-details {
	display: flex;
    padding: 0;
    gap: 3px;
}

/** FMOD-818 Amasty Affiliate Sub-Navigation - Dark Theme (FBL) **/

/* ── Sub-nav bar (appears below main account nav on affiliate pages) ── */
.amasty-affiliate-subnav {
    background: #292929;
    margin: 0 0 20px;
    padding: 0;
    width: 100%;
}
.amasty-affiliate-subnav ul.nav.items {
    list-style: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    background: #292929;
}
.amasty-affiliate-subnav ul.nav.items li.item {
    margin: 0;
}
.amasty-affiliate-subnav ul.nav.items li.item > a {
    display: block;
    padding: 12px 15px;
    color: #aaa;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    line-height: 1.2;
}
.amasty-affiliate-subnav ul.nav.items li.item > a:hover {
    color: #ffffff;
    border-bottom-color: #0095d7;
    background: transparent;
}
.amasty-affiliate-subnav ul.nav.items li.item.current > strong,
.amasty-affiliate-subnav ul.nav.items li.item.current > a {
    display: block;
    padding: 12px 15px;
    color: #0095d7;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 3px solid #0095d7;
    background: transparent;
    text-decoration: none;
    line-height: 1.2;
}
@media only screen and (max-width: 767px) {
    .amasty-affiliate-subnav ul.nav.items {
        flex-direction: column;
    }
    .amasty-affiliate-subnav ul.nav.items li.item > a,
    .amasty-affiliate-subnav ul.nav.items li.item.current > strong {
        padding: 11px 16px;
        border-bottom: 1px solid #444;
        border-left: 3px solid transparent;
    }
    .amasty-affiliate-subnav ul.nav.items li.item > a:hover {
        border-left-color: #0095d7;
    }
    .amasty-affiliate-subnav ul.nav.items li.item.current > strong,
    .amasty-affiliate-subnav ul.nav.items li.item.current > a {
        border-left-color: #0095d7;
    }
}

/* ── Affiliate page: input / select / textarea dark styling ── */
.amasty_affiliate-account-setting-index input,
.amasty_affiliate-account-setting-index select,
.amasty_affiliate-account-setting-index textarea,
.amasty_affiliate-account-promo-index input,
.amasty_affiliate-account-promo-index select,
.amasty_affiliate-account-withdrawal-index input,
.amasty_affiliate-account-withdrawal-index select {
    background: #3a3a3a;
    color: #e0e0e0;
    border: 1px solid #555;
}
.amasty_affiliate-account-setting-index input:focus,
.amasty_affiliate-account-setting-index select:focus,
.amasty_affiliate-account-withdrawal-index input:focus {
    border-color: #0095d7;
    outline: none;
}
/* Checkboxes — keep default browser rendering, just tint the label */
.amasty_affiliate-account-setting-index .field label,
.amasty_affiliate-account-setting-index .fieldset legend {
    color: #e0e0e0;
}
/* ── Affiliate page: data tables dark styling ── */
.amasty_affiliate-account-program-index .table-wrapper table,
.amasty_affiliate-account-transaction-index .table-wrapper table,
.amasty_affiliate-account-withdrawal-index .table-wrapper table {
    width: 100%;
    border-collapse: collapse;
}
.amasty_affiliate-account-program-index .table-wrapper table thead th,
.amasty_affiliate-account-transaction-index .table-wrapper table thead th,
.amasty_affiliate-account-withdrawal-index .table-wrapper table thead th {
    background: #3a3a3a;
    color: #e0e0e0;
    border-bottom: 2px solid #555;
    padding: 10px 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}
.amasty_affiliate-account-program-index .table-wrapper table tbody td,
.amasty_affiliate-account-transaction-index .table-wrapper table tbody td,
.amasty_affiliate-account-withdrawal-index .table-wrapper table tbody td {
    background: #2d2d2d;
    color: #e0e0e0;
    border-bottom: 1px solid #444;
    padding: 10px 12px;
    font-size: 13px;
}
.amasty_affiliate-account-program-index .table-wrapper table tbody tr:nth-child(even) td,
.amasty_affiliate-account-transaction-index .table-wrapper table tbody tr:nth-child(even) td,
.amasty_affiliate-account-withdrawal-index .table-wrapper table tbody tr:nth-child(even) td {
    background: #333;
}
/* "1 Item(s)" count text */
.amasty_affiliate-account-program-index .toolbar .amount,
.amasty_affiliate-account-transaction-index .toolbar .amount,
.amasty_affiliate-account-withdrawal-index .toolbar .amount {
    color: #aaa;
}

.checkout-suggested-addresses .suggested-address .suggested-address-diff {
	background-color: #222;
}
div.affiliate-price-field {
    background : #343434;
}
.account[class*="amasty_affiliate-account-"] #search {
    background: #fff !important;
}
.account[class*="amasty_affiliate-account-"] input[type="text"],.account[class*="amasty_affiliate-account-"] input[type="password"],.account[class*="amasty_affiliate-account-"] input[type="url"],.account[class*="amasty_affiliate-account-"] input[type="tel"],.account[class*="amasty_affiliate-account-"] input[type="search"],.account[class*="amasty_affiliate-account-"] input[type="number"],.account[class*="amasty_affiliate-account-"] input[type*="date"],.account[class*="amasty_affiliate-account-"] input[type="email"] {
    background: #343434 !important;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 6px 12px;
    height: 34px;
    line-height: 34px;
}
.account[class*="amasty_affiliate-account-"] input:focus {
    outline: none;
}
.account[class*="amasty_affiliate-account-"] .affiliate_button {
    background: #2d2d2d;
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
}
.account[class*="amasty_affiliate-account-"] .table-wrapper thead {
    background: #525252;
    color: #fff;
}

.account[class*="amasty_affiliate-account-"] .table-wrapper table {
    color: #fff;
    table-layout: fixed;
}

.account[class*="amasty_affiliate-account-"] .table-wrapper table td.col {
    background-color: #2f2f2f;
    padding: 8px !important;
    border: 1px solid #525252 !important;
}
.account[class*="amasty_affiliate-account-"] .table-wrapper table tbody td {
    background-color: #2f2f2f;
    padding: 8px !important;
    border: 1px solid #525252 !important;
}

.account[class*="amasty_affiliate-account-"] .order-products-toolbar.toolbar.bottom .limiter .limiter-options {
    background: #505050;
    padding: 0 10px;
}

.account[class*="amasty_affiliate-account-"] .limiter .limiter-options {
    background: #505050;
    padding: 0 10px;
}

.account[class*="amasty_affiliate-account-"] .limiter .limiter-options {
    background: #505050;
    padding: 0 10px;
}

.account[class*="amasty_affiliate-account-"] .chart {
    background: #fff;
}

.account[class*="amasty_affiliate-account-"] .table:not(.cart):not(.totals) > thead > tr > th,
.account[class*="amasty_affiliate-account-"] .table:not(.cart):not(.totals) > thead > tr > td {
    border-bottom: none;
}

.account.amasty_affiliate-account-widget form .fieldset .field .control {
    clear: none;
}

.account.amasty_affiliate-account-widget .fieldset.affiliate-widget .field {
    width: 100%;
}
.account.amasty_affiliate-account-withdrawal #form-validate .field .fieldset .actions-toolbar {
    border-top: none;
    padding-left: 20px;
    padding-top: 20px;
}

.account.amasty_affiliate-account-setting fieldset.fieldset {
    width: 100%;
}
.account.amasty_affiliate-account-setting form .actions-toolbar {
    border-top: none;
}
.account.amasty_affiliate-account-setting .field.choice {
    padding-left: 15px;
}
.account.amasty_affiliate-account-widget form .actions-toolbar {
    border-top: none;
}
@media (max-width: 767px) {
    .amasty-affiliate-subnav .nav.items .nav {
        display: block;
    }
    .account[class*="amasty_affiliate-account-"] .table-wrapper .table tbody tr {
        border-bottom: 3px solid #000;
    }
    .account.amasty_affiliate-account-widget #form-validate {
        margin-right: 0px;
    }
    .account.amasty_affiliate-account-widget form .actions-toolbar {
        border-top: none;
    }
}