/*================================================================================
  WOOD Machinery — Homepage trust strip + footer
================================================================================*/

:root {
    --wm-navy: #111c38;
    --wm-navy-deep: #0b1220;
    /* Logo brand red from edited_red_letters.svg (#CB2127) */
    --wm-brand: #cb2127;
    --wm-brand-hover: #a81a1f;
    --wm-brand-soft: rgba(203, 33, 39, 0.1);
    --wm-brand-soft-2: #fdecec;
    --wm-ink: #1e293b;
    --wm-muted: #64748b;
    --wm-line: #e8edf5;
    --wm-soft: #f5f7fb;
}

/*================================================================================
  Global brand remaps — replace Nest orange (#f15822) / mint with logo red
================================================================================*/
.text-brand,
a.text-brand {
    color: var(--wm-brand) !important;
}

/* Primary Nest buttons → logo red */
.btn,
.button,
button.btn,
.btn-brand,
#load-more-btn,
button.btn-brand,
a.btn-brand,
.banner-img .btn,
.banner-big .btn,
.deal .btn,
.newsletter .form-subcriber button,
.wm-newsletter .form-subcriber button {
    background-color: var(--wm-brand) !important;
    border-color: var(--wm-brand) !important;
    color: #fff !important;
}

.btn:hover,
.button:hover,
.btn-brand:hover,
#load-more-btn:hover,
button.btn-brand:hover,
a.btn-brand:hover,
.banner-img .btn:hover,
.banner-big .btn:hover,
.deal .btn:hover,
.newsletter .form-subcriber button:hover,
.wm-newsletter .form-subcriber button:hover {
    background-color: var(--wm-brand-hover) !important;
    border-color: var(--wm-brand-hover) !important;
    color: #fff !important;
}

/* Product price */
.product-cart-wrap .product-content-wrap .product-price span,
.product-cart-wrap .product-content-wrap .product-price span.new-price,
.product-list-small .product-price,
.product-list-small .product-price span,
.detail-info .product-price .current-price {
    color: var(--wm-brand) !important;
}

/* Vendor “By …” link */
.product-cart-wrap .product-content-wrap .font-small a {
    color: var(--wm-brand) !important;
}

/* Discount / badge tags */
.product-cart-wrap .product-badges span.hot,
.product-cart-wrap .product-badges span.new,
.product-cart-wrap .product-badges span.sale,
.product-cart-wrap .product-badges span.best,
.vendor-wrap .product-badges.product-badges-position span.hot,
.vendor-wrap .product-badges.product-badges-position span.new,
.vendor-wrap .product-badges.product-badges-position span.sale,
.vendor-wrap .product-badges.product-badges-position span.best {
    background-color: var(--wm-brand) !important;
}

/* Add button — soft brand idle, solid brand hover */
.product-cart-wrap .product-card-bottom .add-cart .add {
    background-color: var(--wm-brand-soft-2) !important;
    color: var(--wm-brand) !important;
}

.product-cart-wrap .product-card-bottom .add-cart .add:hover,
.product-cart-wrap .product-card-bottom .add-cart .add:focus {
    background-color: var(--wm-brand) !important;
    color: #fff !important;
}

.product-cart-wrap .product-content-wrap .add-to-cart:hover {
    background-color: var(--wm-brand) !important;
    color: #fff !important;
}

/* Full-width Add To Cart buttons in carousels */
.product-cart-wrap .btn.add-to-cart-btn,
.product-cart-wrap a.btn.add-to-cart-btn {
    background-color: var(--wm-brand) !important;
    border-color: var(--wm-brand) !important;
    color: #fff !important;
}

.product-cart-wrap .btn.add-to-cart-btn:hover,
.product-cart-wrap a.btn.add-to-cart-btn:hover {
    background-color: var(--wm-brand-hover) !important;
    border-color: var(--wm-brand-hover) !important;
}

/* Header / nav accents that were Nest orange */
.hotline p,
.header-style-1 .hotline p {
    color: var(--wm-brand) !important;
}

.categories-button-active,
.header-style-1 .main-categori-wrap > a,
.header-style-1 .main-categori-wrap > a:hover,
.header-style-1 .main-categori-wrap > a.categories-button-active {
    background: var(--wm-brand) !important;
    background-color: var(--wm-brand) !important;
    border-color: var(--wm-brand) !important;
}

.header-action-icon-2 span.pro-count.blue,
.header-action-icon-2 span.pro-count,
.header-bottom .header-action-right a span.pro-count {
    background-color: var(--wm-brand) !important;
}

.wm-header .search-style-2 form button,
.header-style-1 .search-style-2 form button,
.search-style-2 form button {
    background-color: transparent !important;
    border-color: transparent !important;
    color: var(--wm-brand) !important;
}

.main-menu nav > ul > li > a:hover,
.main-menu nav > ul > li.active > a,
.main-menu nav > ul > li:hover > a {
    color: var(--wm-brand) !important;
}

/* Nest green/orange hover borders → logo red */
.product-cart-wrap:hover,
.card-2:hover {
    border-color: var(--wm-brand) !important;
}

/*================================================================================
  Header — search bar + Browse All Categories (match logo design)
================================================================================*/

/* Search bar shell */
.wm-header .search-style-2 form,
.header-style-1 .search-style-2 form {
    border: 1.5px solid var(--wm-brand) !important;
    border-radius: 10px !important;
    background: #fff !important;
    overflow: hidden;
}

.wm-header .search-style-2 form select,
.wm-header .search-style-2 .select2-container--default .select2-selection--single,
.header-style-1 .search-style-2 form select,
.header-style-1 .search-style-2 .select2-container--default .select2-selection--single {
    border: 0 !important;
    border-right: 1px solid var(--wm-line) !important;
    border-radius: 0 !important;
    min-height: 48px !important;
    height: 48px !important;
    background: #fff !important;
}

.wm-header .search-style-2 form input,
.header-style-1 .search-style-2 form input {
    border: 0 !important;
    box-shadow: none !important;
    height: 48px !important;
    line-height: 48px !important;
    margin-left: 14px !important;
}

.wm-header .search-style-2 form input:focus,
.header-style-1 .search-style-2 form input:focus {
    border: 0 !important;
    outline: none !important;
}

.wm-header .search-style-2 form button,
.header-style-1 .search-style-2 form button {
    color: var(--wm-brand) !important;
}

/* Select2 category dropdown under search */
.select2-dropdown {
    border: 1px solid var(--wm-line) !important;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(17, 28, 56, 0.1) !important;
}

.select2-dropdown .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--wm-line) !important;
    border-radius: 8px !important;
}

.select2-dropdown .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--wm-brand) !important;
    outline: none !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: rgba(203, 33, 39, 0.08) !important;
    color: var(--wm-brand) !important;
}

/* Browse All Categories panel */
.wm-header .categories-dropdown-active-large,
.header-style-1 .categories-dropdown-active-large,
.categories-dropdown-wrap.categories-dropdown-active-large {
    border: 1px solid var(--wm-line) !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-shadow: 0 16px 36px rgba(17, 28, 56, 0.1) !important;
}

.wm-header .categori-dropdown-inner,
.categories-dropdown-wrap .categori-dropdown-inner {
    gap: 8px;
    min-width: 0 !important;
}

.wm-header .categories-dropdown-wrap ul,
.categories-dropdown-wrap ul {
    width: 100%;
}

.wm-header .categories-dropdown-wrap ul li,
.categories-dropdown-wrap ul li {
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.15 !important;
    margin: 0 6px 6px 0 !important;
    padding: 6px 8px !important;
    border: 1px solid var(--wm-line) !important;
    border-radius: 8px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wm-header .categories-dropdown-wrap ul.end li,
.categories-dropdown-wrap ul.end li {
    margin-right: 0 !important;
}

.wm-header .categories-dropdown-wrap ul li a,
.categories-dropdown-wrap ul li a {
    gap: 8px;
    font-weight: 600;
    color: var(--wm-navy) !important;
}

.wm-header .categories-dropdown-wrap ul li a img,
.categories-dropdown-wrap ul li a img {
    max-width: 28px !important;
    max-height: 28px !important;
    margin-right: 0 !important;
    object-fit: contain;
}

.wm-header .categories-dropdown-wrap ul li:hover,
.categories-dropdown-wrap ul li:hover {
    border: 1px solid var(--wm-brand) !important;
    box-shadow: 0 8px 18px rgba(17, 28, 56, 0.06) !important;
}

.wm-header .categories-dropdown-wrap ul li:hover a,
.categories-dropdown-wrap ul li:hover a,
.categories-dropdown-wrap ul li a:hover {
    color: var(--wm-brand) !important;
    background: transparent !important;
}

/* Show more… */
.wm-header .categories-dropdown-wrap .more_categories,
.categories-dropdown-wrap .more_categories {
    color: var(--wm-brand) !important;
    margin-top: 8px !important;
}

.wm-header .categories-dropdown-wrap .more_categories span.icon,
.categories-dropdown-wrap .more_categories span.icon {
    border-color: var(--wm-brand) !important;
}

.wm-header .categories-dropdown-wrap .more_categories span.icon::before,
.wm-header .categories-dropdown-wrap .more_categories span.icon::after,
.categories-dropdown-wrap .more_categories span.icon::before,
.categories-dropdown-wrap .more_categories span.icon::after {
    background-color: var(--wm-brand) !important;
}

.wm-header .categories-dropdown-wrap .more_categories .heading-sm-1,
.categories-dropdown-wrap .more_categories .heading-sm-1 {
    color: var(--wm-navy);
    font-weight: 700;
}

/* Nav active/hover already remapped; keep Home active consistent */
.wm-header .main-menu nav > ul > li > a.active {
    color: var(--wm-brand) !important;
}

/* Section title underline (Top Selling / Trending / etc.) → logo red */
.section-title.style-1::after {
    background-color: var(--wm-brand) !important;
}

/* Quantity stepper — Quick View / product details / cart */
.detail-extralink .detail-qty,
.detail-qty.wm-qty,
.wm-qty {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: relative !important;
    gap: 0;
    max-width: 108px !important;
    min-width: 96px;
    height: 50px !important;
    padding: 0 36px 0 14px !important;
    margin: 0 10px 0 0 !important;
    background: #fff !important;
    border: 1.5px solid var(--wm-line) !important;
    border-radius: 10px !important;
    color: var(--wm-navy) !important;
    box-shadow: none !important;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.detail-extralink .detail-qty:focus-within,
.detail-qty.wm-qty:focus-within,
.wm-qty:focus-within {
    border-color: var(--wm-brand) !important;
    box-shadow: 0 0 0 3px rgba(203, 33, 39, 0.12) !important;
}

.detail-qty.wm-qty > a,
.wm-qty > a,
.detail-extralink .detail-qty > a {
    color: var(--wm-brand) !important;
    width: 28px;
    height: 20px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    right: 4px !important;
    z-index: 2;
    text-decoration: none !important;
}

.detail-qty.wm-qty > a.qty-up,
.detail-extralink .detail-qty > a.qty-up {
    top: 2px !important;
}

.detail-qty.wm-qty > a.qty-down,
.detail-extralink .detail-qty > a.qty-down {
    bottom: 2px !important;
}

.detail-qty.wm-qty > a:hover,
.wm-qty > a:hover,
.detail-extralink .detail-qty > a:hover {
    color: var(--wm-brand-hover) !important;
}

.detail-qty .qty-val,
.wm-qty .qty-val,
input.qty-val {
    width: 100%;
    max-width: 52px;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    text-align: center;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--wm-navy) !important;
    line-height: 1.2 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: none;
}

/* Kill native number spinners everywhere (prevents double arrows) */
.detail-qty .qty-val::-webkit-outer-spin-button,
.detail-qty .qty-val::-webkit-inner-spin-button,
.wm-qty .qty-val::-webkit-outer-spin-button,
.wm-qty .qty-val::-webkit-inner-spin-button,
input.qty-val::-webkit-outer-spin-button,
input.qty-val::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: none !important;
    margin: 0 !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
}

/* Sort by / nice-select dropdown hover → logo red */
.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus,
.nice-select .list .option:hover,
.nice-select .list .option.focus,
.sort-by-dropdown a:hover,
.sort-by-dropdown a.active,
.sort-by-product-dropdown ul li a:hover,
.sort-by-product-dropdown ul li a.active {
    background-color: var(--wm-brand) !important;
    background: var(--wm-brand) !important;
    border-color: var(--wm-brand) !important;
    color: #fff !important;
}

.sort-by-dropdown a.active::before,
.sort-by-product-dropdown ul li a.active::before {
    color: var(--wm-brand) !important;
    background-color: var(--wm-brand) !important;
}

/* Add button default text was Nest orange */
.product-cart-wrap .product-card-bottom .add-cart .add i {
    color: inherit;
}

/* Remove Nest template spacing that created the huge gap */
footer.main {
    margin-top: 0;
    background: #fff;
}

footer.main .newsletter {
    margin-bottom: 0 !important;
}

.wm-trust {
    padding: 0;
    margin: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.wm-trust__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    padding: 18px 0 8px;
}

.wm-trust__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
    background: #fff;
    border: 1px solid var(--wm-line);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(17, 28, 56, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

.wm-trust__card:hover {
    transform: translateY(-4px);
    border-color: rgba(203, 33, 39, 0.28);
    box-shadow: 0 16px 34px rgba(17, 28, 56, 0.1);
}

.wm-trust__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--wm-brand-soft);
    color: var(--wm-brand);
}

.wm-trust__icon svg {
    width: 24px;
    height: 24px;
}

.wm-trust__title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    color: var(--wm-navy);
    line-height: 1.25;
}

.wm-trust__text {
    margin: 0;
    font-size: 13px;
    color: var(--wm-muted);
    line-height: 1.4;
}

/* Newsletter — business tone */
.wm-newsletter {
    margin: 14px 0 0 !important;
}

.wm-newsletter .newsletter-inner,
.wm-newsletter__inner {
    position: relative !important;
    background:
        radial-gradient(ellipse 42% 70% at 86% 60%, rgba(203, 33, 39, 0.2), transparent 60%),
        linear-gradient(118deg, var(--wm-navy-deep) 0%, var(--wm-navy) 48%, #182746 100%) !important;
    border-radius: 18px !important;
    overflow: hidden;
    min-height: 280px;
    padding: 52px 48% 52px 52px !important;
    display: block !important;
}

.wm-newsletter .newsletter-content {
    max-width: 520px;
    position: relative;
    z-index: 2;
}

/* Floating transparent PNG product ad */
.wm-newsletter__ad {
    position: absolute !important;
    right: 20px;
    bottom: -8px;
    top: auto;
    left: auto;
    display: block !important;
    width: auto !important;
    max-width: 44% !important;
    height: auto !important;
    max-height: 118%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.38));
}

.wm-newsletter .newsletter-content h2 {
    color: #fff !important;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px !important;
}

.wm-newsletter .newsletter-content p {
    color: rgba(255, 255, 255, 0.78) !important;
    margin-bottom: 22px !important;
}

.wm-newsletter .newsletter-content .text-brand {
    color: #ffb4b6 !important;
}

.wm-newsletter .form-subcriber input {
    border: 0 !important;
    border-radius: 10px 0 0 10px !important;
    height: 52px;
    padding-left: 18px;
}

.wm-newsletter .form-subcriber button {
    border-radius: 0 10px 10px 0 !important;
    background: var(--wm-brand) !important;
    border-color: var(--wm-brand) !important;
    height: 52px;
    font-weight: 700;
}

.wm-newsletter .newsletter-inner > img:not(.wm-newsletter__ad) {
    display: none !important;
}

/* Footer main */
.wm-footer {
    background:
        linear-gradient(180deg, #f7f9fc 0%, #eef3f9 100%);
    border-top: 1px solid var(--wm-line);
    margin-top: 10px;
    padding: 34px 0 16px;
}

.wm-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr 0.85fr 1fr 1.15fr;
    gap: 28px 24px;
}

.wm-footer__logo {
    display: inline-block;
    margin-bottom: 14px;
}

.wm-footer__logo img {
    height: 58px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(203, 33, 39, 0.12));
}

.wm-footer__slogan {
    margin: 0 0 18px;
    color: var(--wm-muted);
    font-size: 14px;
    line-height: 1.55;
    max-width: 280px;
}

.wm-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wm-footer__contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 13.5px;
    color: var(--wm-ink);
    line-height: 1.45;
}

.wm-footer__contact li svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 3px;
    color: var(--wm-brand);
}

.wm-footer__contact strong {
    color: var(--wm-navy);
    font-weight: 700;
    margin-right: 4px;
}

.wm-footer__contact a {
    color: var(--wm-ink);
}

.wm-footer__contact a:hover {
    color: var(--wm-brand);
}

.wm-footer__title {
    margin: 6px 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--wm-navy);
    position: relative;
    padding-bottom: 10px;
}

.wm-footer__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: var(--wm-brand);
}

.wm-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wm-footer__list li {
    margin-bottom: 10px;
}

.wm-footer__list a {
    color: var(--wm-muted);
    font-size: 14px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.wm-footer__list a:hover {
    color: var(--wm-brand);
    padding-left: 4px;
}

.wm-footer__aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wm-footer__cta {
    padding: 18px 16px;
    border-radius: 14px;
    background:
        radial-gradient(ellipse 80% 80% at 100% 0%, rgba(203, 33, 39, 0.18), transparent 55%),
        var(--wm-navy);
    color: #fff;
    box-shadow: 0 14px 30px rgba(17, 28, 56, 0.14);
}

.wm-footer__cta h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.wm-footer__cta p {
    margin: 0 0 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
}

.wm-footer__cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--wm-brand);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.wm-footer__cta-phone:hover {
    color: #fff !important;
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.wm-footer__cta-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 13px;
    text-decoration: underline;
}

.wm-footer__cta-link:hover {
    color: #fff !important;
}

.wm-footer__pay {
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(17, 28, 56, 0.08);
    box-shadow: 0 10px 24px rgba(17, 28, 56, 0.05);
}

.wm-footer__pay-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.wm-footer__pay-head h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--wm-navy);
}

.wm-footer__pay-head span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--wm-brand);
}

.wm-footer__pay-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    border-radius: 10px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f3f6fb 100%);
    border: 1px solid var(--wm-line);
}

.wm-footer__pay-box img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    max-height: 36px;
    object-fit: contain;
}

.wm-footer__pay-inline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(17, 28, 56, 0.08);
    box-shadow: 0 6px 16px rgba(17, 28, 56, 0.04);
}

.wm-footer__pay-inline span {
    font-size: 12px;
    font-weight: 700;
    color: var(--wm-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.wm-footer__pay-inline img {
    display: block;
    height: 28px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.wm-footer__bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(17, 28, 56, 0.08);
}

.wm-footer__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.wm-footer__copy {
    margin: 0;
    font-size: 13px;
    color: var(--wm-muted);
}

.wm-footer__copy strong {
    color: var(--wm-navy);
}

.wm-footer__hotlines {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.wm-footer__hotline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wm-footer__hotline-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--wm-brand-soft);
    color: var(--wm-brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wm-footer__hotline-icon svg {
    width: 16px;
    height: 16px;
}

.wm-footer__hotline strong {
    display: block;
    color: var(--wm-brand);
    font-size: 15px;
    line-height: 1.2;
}

.wm-footer__hotline span {
    display: block;
    color: var(--wm-muted);
    font-size: 12px;
}

.wm-footer__social {
    text-align: right;
}

.wm-footer__social h6 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--wm-navy);
}

.wm-footer__social-links {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.wm-footer__social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--wm-brand);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.wm-footer__social-links a:hover {
    transform: translateY(-2px);
    background: var(--wm-navy);
    color: #fff;
}

.wm-footer__social-links svg {
    width: 14px;
    height: 14px;
}

.wm-footer__social p {
    margin: 0;
    font-size: 12px;
    color: var(--wm-muted);
}

@media (max-width: 1199.98px) {
    .wm-trust__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .wm-footer__grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
    .wm-footer__aside {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 14px;
    }
}

@media (max-width: 991.98px) {
    .wm-trust__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 12px;
    }
    .wm-newsletter .newsletter-inner,
    .wm-newsletter__inner {
        padding: 28px 22px 160px !important;
        min-height: 330px;
    }
    .wm-newsletter__ad {
        right: 50%;
        transform: translateX(50%);
        max-width: 72% !important;
        max-height: 155px;
        bottom: 6px;
        filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3));
    }
    .wm-newsletter .newsletter-content {
        max-width: 100%;
    }
    .wm-footer {
        padding-top: 28px;
    }
    .wm-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px 18px;
    }
    .wm-footer__brand {
        grid-column: 1 / -1;
    }
    .wm-footer__aside {
        grid-template-columns: 1fr;
    }
    .wm-footer__bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .wm-footer__social {
        text-align: left;
    }
    .wm-footer__social-links {
        justify-content: flex-start;
    }
    .wm-footer__pay-inline {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 575.98px) {
    .wm-trust__inner {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .wm-trust__card {
        padding: 14px;
    }
    .wm-footer__grid {
        grid-template-columns: 1fr;
    }
    .wm-footer__logo img {
        height: 44px;
    }
}

/*================================================================================
  Featured Categories — WOOD Machinery custom carousel
================================================================================*/
.wm-categories {
    padding-top: 18px;
    padding-bottom: 10px;
    background:
        radial-gradient(ellipse 60% 80% at 0% 0%, rgba(203, 33, 39, 0.04), transparent 55%),
        linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.wm-categories__head {
    align-items: flex-end;
    margin-bottom: 22px !important;
}

.wm-categories__head .title h3 {
    color: var(--wm-navy);
    margin-bottom: 4px;
}

.wm-categories__sub {
    margin: 0;
    font-size: 14px;
    color: var(--wm-muted);
    font-weight: 500;
}

.wm-categories__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wm-categories__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--wm-brand);
    text-decoration: none;
    white-space: nowrap;
}

.wm-categories__all:hover {
    color: var(--wm-navy);
}

.wm-categories .slider-arrow-2 .slider-btn {
    background: #fff !important;
    border: 1px solid var(--wm-line) !important;
    color: var(--wm-navy) !important;
    box-shadow: 0 6px 16px rgba(17, 28, 56, 0.06);
}

.wm-categories .slider-arrow-2 .slider-btn:hover {
    background: var(--wm-brand) !important;
    border-color: var(--wm-brand) !important;
    color: #fff !important;
}

.wm-categories .carausel-10-columns .card-2.wm-cat-card,
.wm-cat-card {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 4px;
    padding: 10px 8px 8px !important;
    text-align: center;
    text-decoration: none !important;
    background: #fff !important;
    border: 1px solid var(--wm-line) !important;
    border-radius: 12px !important;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wm-cat-card__media {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f3f6fb;
    border: 1px solid rgba(17, 28, 56, 0.06);
    flex-shrink: 0;
}

.wm-cat-card__media img {
    width: 72%;
    height: 72%;
    object-fit: contain;
    display: block;
}

.wm-cat-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    width: 100%;
}

.wm-cat-card__name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--wm-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wm-cat-card__count {
    display: inline-block;
    margin: 0 auto;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    color: var(--wm-muted);
    background: #f3f6fb;
    width: fit-content;
}

/* Same simple hover border language as .product-cart-wrap */
.wm-categories .card-2.wm-cat-card:hover,
.wm-cat-card:hover {
    border: 1px solid var(--wm-brand) !important;
    box-shadow: 0 10px 22px rgba(17, 28, 56, 0.08) !important;
    background: #fff !important;
}

.wm-cat-card:hover .wm-cat-card__name {
    color: var(--wm-brand);
}

.wm-cat-card:hover .wm-cat-card__count {
    color: var(--wm-brand);
    background: rgba(203, 33, 39, 0.08);
}

.wm-cat-card::before,
.wm-categories .card-2.wm-cat-card::before {
    display: none !important;
    content: none !important;
    animation: none !important;
}

@media (max-width: 575.98px) {
    .wm-categories__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .wm-categories__actions {
        width: 100%;
        justify-content: space-between;
    }
}

/*================================================================================
  Product cards — simple brand border on hover
  Applies to Popular Products, Daily Best Sells, mini lists, shop grids, etc.
================================================================================*/
.product-cart-wrap,
.wm-mini-lists .product-list-small article.wm-mini-product {
    --wm-card-radius: 15px;
    position: relative;
    border-color: #e8edf5 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wm-mini-lists .product-list-small article.wm-mini-product {
    --wm-card-radius: 12px;
    margin-left: 0;
    margin-right: 0;
    padding: 10px 8px;
    border-radius: var(--wm-card-radius);
    background: #fff;
    border: 1px solid #e8edf5;
}

.wm-mini-lists .product-list-small article.wm-mini-product:not(:last-child) {
    margin-bottom: 14px;
}

.product-cart-wrap::before,
.wm-mini-lists .product-list-small article.wm-mini-product::before {
    display: none !important;
    content: none !important;
}

.product-cart-wrap:hover,
.wm-mini-lists .product-list-small article.wm-mini-product:hover {
    border: 1px solid var(--wm-brand) !important;
    box-shadow: 0 10px 22px rgba(17, 28, 56, 0.08) !important;
}

/* Shop list view keeps its own layout hover */
.product-list .product-cart-wrap:hover {
    box-shadow: none !important;
}

/* Daily Best Sells — vertical machinery ad */
.wm-bestsells-banner {
    position: relative;
    border: 1px solid #ececec;
    box-shadow: 0 10px 28px rgba(17, 28, 56, 0.08);
}

.wm-bestsells-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.55) 0%, rgba(11, 18, 32, 0.12) 42%, rgba(11, 18, 32, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.wm-bestsells-banner .banner-text {
    z-index: 2;
    padding: 0 28px;
}

.wm-bestsells-banner .banner-text h2 {
    color: #fff !important;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.wm-bestsells-banner .banner-text .btn {
    background: var(--wm-brand) !important;
    border-color: var(--wm-brand) !important;
    color: #fff !important;
    font-weight: 700;
}

/*================================================================================
  Customer Login / Register — wood machinery storefront auth
================================================================================*/
.wm-auth-page {
    padding: 48px 0 88px;
    background:
        radial-gradient(ellipse 70% 50% at 10% 0%, rgba(203, 33, 39, 0.06), transparent 55%),
        linear-gradient(180deg, #f3f5f9 0%, #eef1f6 100%);
}

.wm-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 560px;
    overflow: hidden;
    border: 1px solid rgba(17, 28, 56, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(17, 28, 56, 0.08);
}

.wm-auth-visual {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 100%;
    padding: 36px 40px 40px;
    color: #fff;
    overflow: hidden;
    background: var(--wm-navy-deep);
}

.wm-auth-visual__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    filter: saturate(0.92) contrast(1.05);
    z-index: 0;
    animation: wm-auth- ken 18s ease-in-out infinite alternate;
}

.wm-auth-visual__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(115deg, rgba(11, 18, 32, 0.92) 18%, rgba(17, 28, 56, 0.72) 58%, rgba(203, 33, 39, 0.38) 100%),
        linear-gradient(0deg, rgba(11, 18, 32, 0.55), transparent 42%);
}

.wm-auth-visual__grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
    pointer-events: none;
}

.wm-auth-visual__content {
    position: relative;
    z-index: 3;
    max-width: 420px;
}

.wm-auth-visual__logo {
    display: block;
    height: 42px;
    width: auto;
    margin-bottom: 28px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.wm-auth-visual__kicker {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wm-auth-visual h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.65rem, 2.4vw, 2.15rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.wm-auth-visual__lead {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.55;
}

.wm-auth-visual__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.wm-auth-visual__points li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 500;
}

.wm-auth-visual__icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(203, 33, 39, 0.92);
    color: #fff;
    box-shadow: 0 10px 22px rgba(203, 33, 39, 0.28);
}

.wm-auth-visual__icon svg {
    width: 16px;
    height: 16px;
}

.wm-auth-form {
    display: flex;
    align-items: center;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.wm-auth-form__inner {
    width: 100%;
    padding: 48px 44px;
}

.wm-auth-form__chip {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--wm-brand-soft);
    color: var(--wm-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wm-auth-form__title {
    margin: 0 0 8px;
    color: var(--wm-navy);
    font-size: clamp(1.85rem, 2.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.wm-auth-form__sub {
    margin: 0 0 32px;
    color: var(--wm-muted);
    font-size: 15px;
}

.wm-auth-form__sub a {
    color: var(--wm-brand) !important;
    font-weight: 700;
    text-decoration: none;
}

.wm-auth-form__sub a:hover {
    color: var(--wm-brand-hover) !important;
    text-decoration: underline;
}

.wm-auth-form__fields {
    display: grid;
    gap: 18px;
}

.wm-auth-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--wm-ink);
    font-size: 13px;
    font-weight: 600;
}

.wm-auth-field input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d9e0ec;
    border-radius: 12px;
    background: #fff;
    color: var(--wm-ink);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wm-auth-field input::placeholder {
    color: #94a3b8;
}

.wm-auth-field input:focus {
    border-color: var(--wm-brand);
    box-shadow: 0 0 0 4px var(--wm-brand-soft);
}

.wm-auth-error {
    display: block;
    margin-top: 8px;
    color: var(--wm-brand);
    font-size: 13px;
}

.wm-auth-form__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}

.wm-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--wm-muted);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.wm-auth-check input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--wm-brand);
}

.wm-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: var(--wm-brand) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 14px 28px rgba(203, 33, 39, 0.22);
}

.wm-auth-submit:hover {
    background: var(--wm-brand-hover) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(203, 33, 39, 0.28);
}

@keyframes wm-auth-ken {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 991.98px) {
    .wm-auth-page {
        padding: 28px 0 64px;
    }

    .wm-auth-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .wm-auth-visual {
        min-height: 280px;
        padding: 28px 24px 30px;
    }

    .wm-auth-visual__logo {
        height: 34px;
        margin-bottom: 18px;
    }

    .wm-auth-visual h2 {
        font-size: 1.55rem;
    }

    .wm-auth-visual__lead {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .wm-auth-visual__points {
        display: none;
    }

    .wm-auth-form__inner {
        padding: 32px 22px 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wm-auth-visual__media {
        animation: none;
    }

    .wm-auth-submit {
        transition: none;
    }

    .wm-auth-submit:hover {
        transform: none;
    }
}

/*================================================================================
  My Account — WOOD Machinery customer dashboard
================================================================================*/
.breadcrumb a,
.breadcrumb a i {
    color: var(--wm-brand) !important;
}

.wm-account-page {
    padding: 36px 0 88px;
    background:
        radial-gradient(ellipse 70% 45% at 8% 0%, rgba(203, 33, 39, 0.07), transparent 55%),
        linear-gradient(180deg, #f3f5f9 0%, #eef1f6 100%);
}

.wm-account-shell {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.wm-account-nav {
    position: sticky;
    top: 20px;
    overflow: hidden;
    border: 1px solid rgba(17, 28, 56, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(17, 28, 56, 0.06);
}

.wm-account-nav__brand {
    padding: 28px 24px 22px;
    background:
        linear-gradient(145deg, rgba(17, 28, 56, 0.96) 0%, rgba(11, 18, 32, 0.98) 55%, rgba(203, 33, 39, 0.55) 140%);
    color: #fff;
}

.wm-account-nav__logo {
    display: block;
    height: 34px;
    width: auto;
    margin-bottom: 18px;
    filter: brightness(0) invert(1);
}

.wm-account-nav__chip {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wm-account-nav__name {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

.wm-account-nav__meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.wm-account-menu {
    padding: 14px;
    margin: 0;
    gap: 8px;
}

.wm-account-menu .nav-item {
    margin: 0 !important;
    border: 0 !important;
}

.wm-account-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 14px !important;
    border: 1px solid var(--wm-line);
    border-radius: 12px !important;
    background: #fff;
    color: var(--wm-ink) !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wm-account-menu .nav-link i {
    color: var(--wm-muted) !important;
    font-size: 16px !important;
    opacity: 1 !important;
    width: 18px;
    text-align: center;
}

.wm-account-menu .nav-link span {
    flex: 1;
}

.wm-account-menu__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--wm-brand-soft-2);
    color: var(--wm-brand);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}

.wm-account-menu .nav-link:hover {
    border-color: rgba(203, 33, 39, 0.28);
    background: var(--wm-brand-soft-2);
    color: var(--wm-brand) !important;
    transform: translateY(-1px);
}

.wm-account-menu .nav-link:hover i {
    color: var(--wm-brand) !important;
}

.wm-account-menu .nav-link.active,
.dashboard-menu ul li a.active {
    border-color: var(--wm-brand) !important;
    background: var(--wm-brand) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(203, 33, 39, 0.22);
}

.wm-account-menu .nav-link.active i,
.dashboard-menu ul li a.active i {
    color: #fff !important;
}

.wm-account-menu .nav-link.active .wm-account-menu__count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.wm-account-menu__logout {
    margin-top: 4px;
}

.wm-account-main {
    min-width: 0;
}

.wm-account-panel {
    border: 1px solid rgba(17, 28, 56, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(17, 28, 56, 0.06);
    padding: 28px 30px 32px;
}

.wm-account-panel__header {
    margin-bottom: 24px;
}

.wm-account-kicker {
    margin: 0 0 8px;
    color: var(--wm-brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wm-account-panel h3 {
    margin: 0 0 10px;
    color: var(--wm-navy);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.wm-account-lead {
    margin: 0;
    max-width: 58ch;
    color: var(--wm-muted);
    font-size: 15px;
    line-height: 1.65;
}

.wm-account-inline-link {
    color: var(--wm-brand) !important;
    font-weight: 700;
    text-decoration: none;
}

.wm-account-inline-link:hover {
    color: var(--wm-brand-hover) !important;
    text-decoration: underline;
}

.wm-account-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.wm-account-stat {
    padding: 18px 18px 16px;
    border: 1px solid var(--wm-line);
    border-radius: 14px;
    background:
        linear-gradient(180deg, #fff 0%, var(--wm-soft) 100%);
}

.wm-account-stat--wide {
    grid-column: span 2;
}

.wm-account-stat__label {
    display: block;
    margin-bottom: 8px;
    color: var(--wm-muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wm-account-stat__value {
    display: block;
    color: var(--wm-navy);
    font-size: 1.85rem;
    font-weight: 750;
    line-height: 1;
}

.wm-account-stat__value--sm {
    font-size: 1.15rem;
    line-height: 1.3;
    word-break: break-word;
}

.wm-account-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wm-account-action {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 18px;
    border: 1px solid var(--wm-line);
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.wm-account-action strong {
    display: block;
    margin-bottom: 2px;
    color: var(--wm-navy);
    font-size: 15px;
}

.wm-account-action small {
    display: block;
    color: var(--wm-muted);
    font-size: 13px;
}

.wm-account-action__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--wm-brand-soft-2);
    color: var(--wm-brand);
    font-size: 18px;
}

.wm-account-action:hover {
    border-color: rgba(203, 33, 39, 0.28);
    background: #fffaf9;
    box-shadow: 0 14px 28px rgba(17, 28, 56, 0.07);
    transform: translateY(-2px);
}

.wm-account-action--shop {
    background:
        linear-gradient(135deg, rgba(203, 33, 39, 0.08), rgba(17, 28, 56, 0.04));
}

.wm-account-table-wrap {
    border: 1px solid var(--wm-line);
    border-radius: 14px;
    overflow: hidden;
}

.wm-account-table {
    margin: 0;
}

.wm-account-table thead th {
    background: var(--wm-soft);
    border-bottom: 1px solid var(--wm-line);
    color: var(--wm-navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 14px 16px;
}

.wm-account-table tbody td,
.wm-account-table tfoot th,
.wm-account-table tfoot td {
    padding: 14px 16px;
    vertical-align: middle;
    border-color: var(--wm-line);
    color: var(--wm-ink);
    font-size: 14px;
}

.wm-account-empty {
    text-align: center;
    color: var(--wm-muted);
    padding: 36px 16px !important;
}

.wm-account-empty a {
    color: var(--wm-brand);
    font-weight: 700;
}

.wm-account-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--wm-soft);
    color: var(--wm-navy);
    font-size: 12px;
    font-weight: 700;
}

.wm-account-status--pending,
.wm-account-status--processing,
.wm-account-status--confirmed {
    background: rgba(203, 33, 39, 0.1);
    color: var(--wm-brand);
}

.wm-account-status--delivered,
.wm-account-status--completed {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}

.wm-account-status--cancelled {
    background: rgba(100, 116, 139, 0.14);
    color: #475569;
}

.wm-account-btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--wm-brand) !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.wm-account-btn-sm:hover {
    background: var(--wm-brand-hover) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.wm-account-track-form,
.wm-account-profile-form {
    display: grid;
    gap: 16px;
    max-width: 520px;
}

.wm-account-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--wm-ink);
    font-size: 13px;
    font-weight: 650;
}

.wm-account-field .required {
    color: var(--wm-brand);
}

.wm-account-field input,
.wm-account-field .form-control {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d9e0ec;
    border-radius: 12px;
    background: #fff;
    color: var(--wm-ink);
    font-size: 15px;
    outline: none;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wm-account-field input:focus,
.wm-account-field .form-control:focus {
    border-color: var(--wm-brand);
    box-shadow: 0 0 0 4px var(--wm-brand-soft) !important;
}

.wm-account-field input[readonly] {
    background: var(--wm-soft);
    color: var(--wm-muted);
}

.wm-account-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: var(--wm-brand) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(203, 33, 39, 0.22);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wm-account-submit:hover {
    background: var(--wm-brand-hover) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(203, 33, 39, 0.28);
}

.wm-account-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.08);
    color: #047857;
    font-size: 14px;
    font-weight: 600;
}

.wm-account-modal .btn-close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
}

.wm-account-modal .modal-body {
    padding: 30px;
}

.wm-account-modal__title {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--wm-line);
    color: var(--wm-navy);
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .wm-account-page {
        padding: 24px 0 64px;
    }

    .wm-account-shell {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wm-account-nav {
        position: static;
    }

    .wm-account-nav__brand {
        padding: 22px 20px 18px;
    }

    .wm-account-menu {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .wm-account-menu .nav-item:last-child {
        grid-column: 1 / -1;
    }

    .wm-account-stats {
        grid-template-columns: 1fr 1fr;
    }

    .wm-account-stat--wide {
        grid-column: span 2;
    }

    .wm-account-actions {
        grid-template-columns: 1fr;
    }

    .wm-account-panel {
        padding: 22px 18px 24px;
    }

    .wm-account-panel h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 575.98px) {
    .wm-account-menu {
        grid-template-columns: 1fr;
    }

    .wm-account-stats {
        grid-template-columns: 1fr;
    }

    .wm-account-stat--wide {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wm-account-menu .nav-link,
    .wm-account-action,
    .wm-account-submit,
    .wm-account-btn-sm {
        transition: none;
    }

    .wm-account-menu .nav-link:hover,
    .wm-account-action:hover,
    .wm-account-submit:hover,
    .wm-account-btn-sm:hover {
        transform: none;
    }
}
