/**
 * MarketNext theme extras
 * Header variants, search, pagination, search modal, toast
 */

/* header-style-5: dark top bar, white mainmenu, campaign */
.header-style-5 .axil-header-top {
    background: var(--color-dark, #27272E);
    padding: 10px 0;
}
.header-style-5 .axil-header-top .dropdown-toggle,
.header-style-5 .axil-header-top .quick-link a {
    color: rgba(255,255,255,0.9);
}
.header-style-5 .axil-header-top .dropdown-toggle:hover,
.header-style-5 .axil-header-top .quick-link a:hover {
    color: #fff;
}
.header-style-5 .axil-mainmenu {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Categories megamenu: down arrow by default, right arrow on hover (etrade-style) */
.department-nav-menu .nav-link.has-megamenu {
    position: relative;
}
.department-nav-menu .nav-link.has-megamenu::before {
    display: none !important;
    content: none !important;
}
.department-nav-menu .nav-link.has-megamenu::after {
    content: "\f107";
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    color: #c5c5c5;
    font-size: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    transition: var(--transition, all 0.3s ease);
}
.department-nav-menu .nav-link.has-megamenu:hover::after {
    color: var(--primary-color, var(--color-primary, #3577f0));
    transform: translateY(-50%) rotate(-90deg);
}

/* Header top bar (style-5): right-align Join Us / Sign In on all viewports, keep visible on mobile */
.header-style-5 .axil-header-top .container {
    overflow: visible;
}
.header-style-5 .axil-header-top .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
.header-style-5 .axil-header-top .row [class*="col-"]:first-child {
    flex: 0 0 auto;
    max-width: none;
    padding-left: 12px;
    padding-right: 12px;
}
.header-style-5 .axil-header-top .row .header-top-right-col,
.header-style-5 .axil-header-top .row [class*="col-"]:last-child {
    flex: 0 0 auto;
    max-width: none;
    margin-left: auto;
    padding-left: 12px;
    padding-right: 12px;
}
.header-style-5 .axil-header-top .header-top-dropdown {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}
.header-style-5 .axil-header-top .header-top-right-col,
.header-style-5 .axil-header-top .header-top-link,
.header-style-5 .axil-header-top .quick-link {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.header-style-5 .axil-header-top .header-top-link {
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}
.header-style-5 .axil-header-top .quick-link {
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
}
.header-style-5 .axil-header-top .quick-link li {
    display: inline-block;
}
.header-style-5 .axil-header-top .dropdown-toggle,
.header-style-5 .axil-header-top .quick-link a {
    line-height: 1.25;
    padding: 4px 0;
    white-space: nowrap;
}

/* Mobile only: 50% left, 50% right so both parts stay on one line */
@media (max-width: 767.98px) {
    .header-style-5 .axil-header-top .container {
        max-width: 100%;
        padding-left: 8px;
        padding-right: 8px;
        box-sizing: border-box;
    }
    .header-style-5 .axil-header-top .header-top-left {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 6px !important;
        box-sizing: border-box !important;
    }
    .header-style-5 .axil-header-top .header-top-right {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        min-width: 0 !important;
        margin-left: 0 !important;
        padding-left: 6px !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
    .header-style-5 .axil-header-top .header-top-left .header-top-dropdown {
        gap: 0.4rem;
    }
    .header-style-5 .axil-header-top .header-top-right .quick-link {
        gap: 0.4rem;
    }
}

@media (max-width: 575.98px) {
    .header-style-5 .axil-header-top,
    .axil-header-top {
        padding: 6px 0;
    }
    .header-style-5 .axil-header-top .header-top-left,
    .header-style-5 .axil-header-top .header-top-right {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
}

/* Search: 100% clone from etrade/shop-sidebar.html (style.min.css) */
.header-action .axil-search { position: relative; }
.header-action .axil-search form.axil-search-form { position: relative; display: block; }
.header-action .axil-search .icon {
    position: absolute;
    left: 15px;
    width: auto;
    padding: 0;
    top: 52%;
    transform: translateY(-50%);
    line-height: 1;
    background-color: rgba(0,0,0,0);
    font-size: 22px;
    color: var(--color-heading, #292930);
    border: none;
    cursor: pointer;
}
.header-action .axil-search .icon:hover { color: var(--color-primary, #3577f0); }
.header-action .axil-search .icon i { display: inline-block; line-height: 0; }
.header-action .axil-search input {
    background: var(--color-white, #fff);
    color: var(--color-heading, #292930);
    border-radius: 6px;
    padding-left: 40px;
    padding-right: 10px;
    max-width: 250px;
    height: 50px;
    opacity: 1;
    font-size: 14px;
    border: 1px solid #f0f0f0;
    width: 100%;
    outline: none;
}
.header-action .axil-search input::placeholder { color: var(--color-body, #777); }
.header-style-5 .header-action .axil-search input { border: 1px solid #f0f0f0; height: 40px; }
.header-top-campaign {
    padding: 12px 0;
}
.header-top-campaign .campaign-content p {
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.header-top-campaign .campaign-content a:hover {
    opacity: 0.9;
}

/* Mainmenu: same grey background and shadow on landing (style-2) */
.header-style-2 .axil-mainmenu {
    background: var(--color-lighter, #F6F7FB) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Industry-standard pagination (shop, category, vendor store) */
.axil-pagination-wrapper { margin-top: 2rem; margin-bottom: 1rem; }
.axil-pagination-wrapper nav { display: flex; justify-content: center; align-items: center; }
.axil-pagination-wrapper .pagination {
    display: inline-flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0;
    align-items: center; justify-content: center;
}
.axil-pagination-wrapper .page-item .page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 14px;
    border-radius: var(--radius, 6px);
    font-weight: 500; font-size: 0.9375rem;
    text-decoration: none; color: var(--color-body, #777);
    border: 1px solid var(--color-border-light, #e3e6e9);
    background: #fff;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.axil-pagination-wrapper .page-item.active .page-link {
    background: var(--color-primary, #3577f0); color: #fff;
    border-color: var(--color-primary, #3577f0); cursor: default;
}
.axil-pagination-wrapper .page-item:not(.disabled):not(.active) .page-link:hover {
    border-color: var(--color-primary, #3577f0); color: var(--color-primary, #3577f0);
    background: rgba(53, 119, 240, 0.06);
}
.axil-pagination-wrapper .page-item.disabled .page-link {
    opacity: 0.5; cursor: not-allowed; pointer-events: none;
}

/* Header search modal + results */
.header-search-modal .header-search-wrap { max-width: 100%; }
.header-search-modal .card-header .input-group {
    display: flex;
    border: 1px solid var(--color-border-light, #e3e6e9);
    border-radius: var(--radius, 6px);
    overflow: hidden;
}
.header-search-modal .card-header .form-control {
    border: none;
    padding: 12px 16px 12px 44px;
    flex: 1;
}
.header-search-modal .card-header .axil-btn { border-radius: 0; white-space: nowrap; }
.header-search-modal .search-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 8px;
}
.header-search-modal .search-result-header .title { margin: 0; font-size: 14px; font-weight: 600; }
.header-search-modal .search-result-header .view-all { font-size: 13px; color: var(--color-primary, #3577f0); }
.header-search-modal .psearch-results { max-height: 60vh; overflow-y: auto; }
.header-search-modal .psearch-results .axil-product-list {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light, #e3e6e9);
}
.header-search-modal .psearch-results .axil-product-list:last-child { border-bottom: none; }
.header-search-modal .psearch-results .thumbnail {
    flex-shrink: 0;
    width: 78px;
    height: 78px;
}
.header-search-modal .psearch-results .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius, 6px);
}
.header-search-modal .psearch-results .product-content { flex: 1; min-width: 0; }
.header-search-modal .psearch-results .product-title { font-size: 14px; margin: 0 0 6px; }
.header-search-modal .psearch-results .product-title a { color: var(--color-heading, #292930); }
.header-search-modal .psearch-results .product-price-variant { margin-bottom: 8px; }
.header-search-modal .psearch-results .price.current-price { color: var(--color-primary, #3577f0); font-weight: 600; }
.header-search-modal .psearch-results .price.old-price { text-decoration: line-through; color: var(--color-gray, #999); margin-left: 6px; font-size: 13px; }
.header-search-modal .psearch-results .product-cart { display: flex; gap: 8px; }
.header-search-modal .psearch-results .product-cart .cart-btn { color: var(--color-body, #777); }
.header-search-modal .psearch-results .product-cart .cart-btn:hover { color: var(--color-primary, #3577f0); }

/* Theme toast (used by themes/marketnext/assets/js/theme.js) */
.theme-toast {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 99999;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 12px 14px;
    min-width: 240px;
    max-width: min(420px, calc(100vw - 40px));
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.25s ease;
    overflow: hidden;
}
.theme-toast.show { transform: translateY(0); opacity: 1; }
/* When positioned near an element (e.g. Add to Cart button), JS sets left/top */
.theme-toast.theme-toast--near { right: auto; }
.theme-toast .toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: 0;
    width: 100%;
}
.theme-toast .toast-message {
    display: block !important;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px !important;
    line-height: 1.35;
    color: #1f2937 !important;
    visibility: visible !important;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}
.theme-toast .toast-icon { flex: 0 0 auto; display: inline-block; width: 1.25em; font-size: 1rem; text-align: center; }
.theme-toast .toast-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 0;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    border-radius: 6px;
}
.theme-toast .toast-close:hover {
    background: rgba(0,0,0,0.06);
    color: #374151;
}
.theme-toast.toast-success { border-left: 4px solid #22c55e; }
.theme-toast.toast-error { border-left: 4px solid #ef4444; }
.theme-toast.toast-warning { border-left: 4px solid #f59e0b; }
.theme-toast.toast-info { border-left: 4px solid #3b82f6; }

/* ========== Checkout page ========== */
.axil-checkout-area .select2-container {
    width: 100% !important;
    display: block;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0;
}
.axil-checkout-area .select2-container .select2-selection--single {
    height: 60px !important;
    min-height: 60px !important;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background-color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}
.axil-checkout-area .select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    width: 100%;
    padding: 0 30px;
    line-height: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
}
.axil-checkout-area .select2-container .select2-selection--single .select2-selection__clear {
    position: absolute !important;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1;
    height: 20px;
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    cursor: pointer;
}
.axil-checkout-area .select2-container .select2-selection--single .select2-selection__clear:hover { color: #495057; }
.axil-checkout-area .select2-container .select2-selection--single .select2-selection__arrow {
    position: absolute;
    right: 0;
    top: 0;
    height: 58px !important;
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.axil-checkout-area .select2-container .select2-selection--single .select2-selection__arrow b {
    border-color: #6c757d transparent transparent transparent;
    border-width: 5px 4px 0 4px;
}
.axil-checkout-area .select2-container .select2-selection--single .select2-selection__placeholder { color: #6c757d; }
.axil-checkout-area .select2-container.select2-container--open,
.axil-checkout-area .select2-container.select2-container--focus {
    border: none !important;
    box-shadow: none !important;
}
.axil-checkout-area .select2-container.select2-container--open .select2-selection--single,
.axil-checkout-area .select2-container.select2-container--focus .select2-selection--single {
    border-color: #3577f0;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(53, 119, 240, 0.25);
}
.axil-checkout-area .form-group .select2-container { margin-bottom: 0; }
.axil-checkout-area .form-group:has(.select2-container) {
    border: none !important;
    box-shadow: none !important;
    padding: 0;
    background: transparent;
}
.axil-checkout-area .axil-checkout-billing .form-group { margin-bottom: 20px; }
.axil-checkout-area .axil-checkout-billing .form-group label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #27272e;
    display: block;
}
.axil-checkout-area .axil-checkout-billing .form-group label span { color: #dc3545; }
.axil-checkout-area .axil-checkout-billing .form-group input.form-control {
    height: 60px !important;
    min-height: 60px !important;
    padding: 0 30px;
    font-size: 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
}
.axil-checkout-area .axil-checkout-billing .form-group input.form-control:focus {
    border-color: #3577f0;
    box-shadow: 0 0 0 0.2rem rgba(53, 119, 240, 0.25);
    outline: none;
}
.axil-checkout-area input.form-control,
.axil-checkout-area select.form-control { height: 60px !important; min-height: 60px !important; }
#shippingAddressFields { margin-top: 4%; }
.address-summary-banner { display: flex; align-items: center; justify-content: space-between; background: #f6f8fb; border: 1px solid #e3e6ef; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; }
.address-card { border: 2px solid #e9ecef; border-radius: 8px; padding: 14px; cursor: pointer; transition: border-color .2s; margin-bottom: 10px; position: relative; }
.address-card.selected { border-color: var(--color-primary,#2f4cdb); background: rgba(47,76,219,.04); }
.address-card-check { display: none; position: absolute; top: 10px; right: 10px; color: var(--color-primary,#2f4cdb); }
.address-card.selected .address-card-check { display: block; }
.address-modal-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 12px; }
.address-card-new { border: 2px dashed #ccc; display: flex; align-items: center; justify-content: center; min-height: 90px; }
.address-card-new:hover { border-color: var(--color-primary,#2f4cdb); }
.address-card-new-content { text-align: center; color: #888; }
.address-card-new-content i { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.single-payment input[type="radio"] { accent-color: var(--color-primary,#2f4cdb); }
.shipping-option:has(input:checked) { border-color: var(--color-primary,#2f4cdb) !important; background: rgba(47,76,219,.04); }
.checkout-aux-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    border-radius: 6px;
    border: 1px solid var(--color-border-light, #dee2e6);
    background: #fff;
    color: var(--color-body, #6c757d);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    width: 40%;
}
.checkout-aux-btn:hover {
    border-color: var(--color-primary, #3577f0);
    color: var(--color-primary, #3577f0);
    background: rgba(53, 119, 240, 0.06);
}
.checkout-aux-btn i { font-size: 12px; }
.select2-dropdown { border: 1px solid #dee2e6; border-radius: 6px; box-shadow: 0 6px 12px rgba(0,0,0,0.15); z-index: 99999 !important; }
.select2-search--dropdown { padding: 8px; }
.select2-search--dropdown .select2-search__field { border: 1px solid #dee2e6; border-radius: 4px; padding: 8px 12px; width: 100%; outline: none; }
.select2-search--dropdown .select2-search__field:focus { border-color: #3577f0; box-shadow: 0 0 0 0.2rem rgba(53, 119, 240, 0.25); }
.select2-results__options { max-height: 250px; overflow-y: auto; }
.select2-results__option { padding: 8px 12px; font-size: 14px; }
.select2-results__option--highlighted[aria-selected] { background-color: #3577f0 !important; color: #fff !important; }
.select2-results__option[aria-selected=true] { background-color: rgba(53, 119, 240, 0.1); }

/* ========== Cart page ========== */
.axil-cart-table .pro-qty .quantity-input::-webkit-outer-spin-button,
.axil-cart-table .pro-qty .quantity-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.axil-cart-table .pro-qty .quantity-input { -moz-appearance: textfield; appearance: textfield; }
.applied-coupon-display {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    font-size: 0.9375rem;
    line-height: 1.4;
}
.applied-coupon-display.is-applied { display: inline-flex; }
.applied-coupon-display .coupon-success-text { display: inline-flex; align-items: center; gap: 6px; color: #166534; font-weight: 500; }
.applied-coupon-display .coupon-success-text i { color: #16a34a; font-size: 1rem; }
.applied-coupon-display #displayCouponCode { font-weight: 600; color: #166534; }
.applied-coupon-display .coupon-remove-btn {
    background: none; border: none; color: #6b7280; font-size: 0.875rem; padding: 2px 0; margin-left: 4px;
    cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.applied-coupon-display .coupon-remove-btn:hover { color: #dc2626; }
.coupon-feedback { display: block; width: 100%; }

/* ========== Category / Shop page ========== */
#price-slider { margin: 10px 4px; }
.ui-slider-horizontal { height: 4px; background: #e0e0e0; border: none; border-radius: 4px; }
.ui-slider .ui-slider-range { background: var(--color-primary, #2f4cdb); }
.ui-slider .ui-slider-handle {
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--color-primary, #2f4cdb); border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.25); top: -6px; cursor: pointer; outline: none;
}
.ui-slider .ui-slider-handle:focus { outline: none; }
.amount-range { border: none; background: transparent; font-size: 13px; color: #555; width: 100%; text-align: center; }
.axil-shop-sidebar .shop-submenu ul li { margin: 0; padding: 0; list-style: none; }
.axil-shop-sidebar .shop-submenu ul li label {
    display: flex !important; align-items: center !important; gap: 8px; margin: 0; min-height: 22px; line-height: 1.4; cursor: pointer;
}
.axil-shop-sidebar .shop-submenu label input[type="checkbox"],
.axil-shop-sidebar .shop-submenu label input[type="radio"] {
    margin: 0 !important; flex-shrink: 0; width: 18px; height: 18px; align-self: center; vertical-align: middle; position: relative; top: 0;
}
.axil-shop-sidebar .brand-filter-list { list-style: none; padding: 0; margin: 0; max-height: 220px; overflow-y: auto; }
.axil-shop-sidebar .brand-filter-list li { margin: 0; padding: 0; border: none; min-height: 22px; display: flex; align-items: center; }
.axil-shop-sidebar .brand-filter-list li a {
    display: flex; align-items: center; padding: 5px 0; color: var(--color-body, #777); text-decoration: none;
    transition: color 0.2s ease; line-height: 1.4; min-height: 22px;
}
.axil-shop-sidebar .brand-filter-list li a:hover { color: var(--color-primary, #3577f0); }
.axil-shop-sidebar .brand-filter-list li.current-cat a { color: var(--color-primary, #3577f0); font-weight: 500; }
.axil-shop-sidebar > a.axil-btn.btn-bg-primary.w-100 {
    display: inline-flex !important; align-items: center; justify-content: center; width: 100%; min-height: 44px;
    padding: 10px 20px; line-height: 1.2; text-align: center; text-decoration: none;
}
.axil-breadcrumb-area .row.align-items-center { align-items: center; }
.axil-breadcrumb-area .bradcrumb-thumb { text-align: right; }
.axil-breadcrumb-area .bradcrumb-thumb img { max-width: 100%; max-height: 200px; width: auto; height: auto; object-fit: contain; display: inline-block; }
@media (max-width: 991.98px) {
    .axil-breadcrumb-area .bradcrumb-thumb { text-align: center; }
}

/* ========== Vendor store page ========== */
.vendor-profile-wrapper .d-flex.gap-2.flex-shrink-0 .axil-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.9375rem;
    white-space: nowrap;
}
.vendor-profile-wrapper .d-flex.gap-2.flex-shrink-0 .axil-btn i { flex-shrink: 0; }

/* ========== Mini cart (dropdown) ========== */
#cart-dropdown .axil-cart-pro-qty {
    display: flex;
    align-items: center;
    background: #f6f7fb;
    border-radius: 50px;
    width: max-content;
    padding: 5px;
}
#cart-dropdown .axil-cart-pro-qty .qtybtn {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; background: #fff; border-radius: 50%;
    font-size: 16px; color: #000; transition: 0.3s; border: 2px solid transparent; user-select: none;
}
#cart-dropdown .axil-cart-pro-qty .qtybtn:hover { border-color: #3577f0; color: #3577f0; }
#cart-dropdown .axil-cart-pro-qty .update-qty-input {
    width: 40px; border: none; background: transparent; text-align: center; font-size: 16px; font-weight: 500;
    color: #27272e; margin: 0 5px; -moz-appearance: textfield;
}
#cart-dropdown .axil-cart-pro-qty .update-qty-input::-webkit-outer-spin-button,
#cart-dropdown .axil-cart-pro-qty .update-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ========== Auth (login / register) ========== */
.field-error { color: #dc3545; font-size: 13px; margin-top: 5px; display: block; }
.form-control.is-invalid { border-color: #dc3545 !important; }
.alert-top { margin-bottom: 20px; padding: 12px 16px; border-radius: 4px; }
.alert-top.success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.alert-top.danger { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }

/* ========== Thank You (order success) – one/two-line professional ========== */
.thank-you-page.axil-section-gap {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}
.thank-you-success {
    margin-bottom: 1.75rem;
    text-align: center;
}
.thank-you-line1,
.thank-you-line2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    line-height: 1.4;
}
.thank-you-line1 {
    margin-bottom: 0.4rem;
}
.thank-you-line2 {
    font-size: 1.6875rem;
    color: #6b7280;
}
.thank-you-icon {
    display: inline-flex;
    align-items: center;
    font-size: 3rem;
    color: var(--color-success, #3EB75E);
    margin-right: 0.5rem;
}
.thank-you-title {
    font-size: 2.8125rem;
    font-weight: 700;
    color: var(--color-heading, #292930);
}
.thank-you-sep {
    color: #9ca3af;
    font-weight: 400;
}
.thank-you-message {
    font-size: 1.875rem;
    color: #6b7280;
    font-weight: 400;
}
.thank-you-email {
    color: #4b5563;
}
.thank-you-dot {
    color: #9ca3af;
    margin: 0 0.25rem;
}
.thank-you-order-label {
    color: #6b7280;
}
.thank-you-order-number {
    font-size: 1.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-heading, #292930);
}
.thank-you-order-section {
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.thank-you-order-section .thank-you-section-title {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}
.thank-you-order-section .thank-you-meta-row,
.thank-you-order-section .thank-you-address-row {
    margin-bottom: 1rem;
}
.thank-you-actions {
    margin-top: 1.5rem;
}
