.nav-item-checkout a .notification {
    position: absolute !important;
    top: 0;
    left: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    background-color: #fe2e3e;
    border-radius: 50%;
    height: 18px;
    width: 18px;
    line-height: 18px;
    text-align: center;
    color: #fff;
}

.nav-mobile-header-container .a-mobile-checkout {
    position: relative;
    display: inline-block;
    font-size: 24px !important;
    line-height: 24px;
    padding: 12px 10px;
    color: #222 !important;
    margin-right: 5px;
}

.nav-mobile-header-container .a-mobile-checkout .notification {
    position: absolute !important;
    display: inline-block;
    font-size: 12px;
    background-color: #fe2e3e;
    border-radius: 50%;
    top: 4px;
    right: 0;
    height: 18px;
    width: 18px;
    line-height: 18px;
    text-align: center;
    color: #fff;
}

.modal-product-cart .checkout-related-products {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eeeeee;
}

.modal-product-cart .checkout-related-products .title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
}

.modal-product-cart .checkout-related-products .product-item {
    margin-bottom: 0;
}

.modal-product-cart .checkout-related-products .img-product-container,
.modal-product-cart .checkout-related-products .img-product {
    height: 180px;
}

.modal-product-cart .checkout-related-products .product-item .product-user {
    display: none;
}

@media (max-width: 991px) {
    .modal-product-cart .row-checkout-product-modal {
        display: block;
    }
}

.shopping-cart-shipping .checkout-shipping-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.shopping-cart-shipping .checkout-shipping-actions .btn-checkout-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    max-width: 100%;
    min-height: 52px;
    margin-top: 0;
}

.shopping-cart-shipping .checkout-shipping-actions .btn-outline-gray.btn-checkout-action {
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .shopping-cart-shipping .checkout-shipping-actions .btn-checkout-action {
        width: 100%;
    }
}

/* ========================================
   Vinted-style Header Redesign
   ======================================== */

/* Make header sticky on scroll */
#header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Hide top bar completely */
#header .top-bar {
    display: none !important;
}

/* Tighter nav-top row (search/logo row) */
.nav-top {
    padding: 8px 0 !important;
    border-bottom: 1px solid #e8e8e8;
}

/* Logo: constrain size and align */
.nav-top .nav-top-left .logo {
    margin-right: 24px;
    min-width: 170px;
    max-width: 210px;
    flex-shrink: 0;
    margin-top: -4px;
}

.nav-top .nav-top-left .logo a img {
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Give the search bar more room and make it fill available space */
.nav-top .nav-top-left {
    flex: 1 1 0;
    max-width: none;
}

.nav-top .nav-top-right {
    flex: 0 0 auto;
    max-width: none;
    width: auto;
}

/* Ensure the row uses flexbox properly */
.nav-top .row.align-items-center {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

/* Tighter search bar height */
.top-search-bar {
    width: calc(100% - 230px) !important;
}

.top-search-bar .input-search {
    height: 34px !important;
    padding: 4px 34px 4px 12px !important;
    font-size: 13px !important;
}

.top-search-bar .btn-search {
    height: 34px !important;
    padding: 0 12px !important;
    font-size: 15px !important;
}

/* Category menu row: tighter, closer to search row */
.nav-main {
    padding: 0 !important;
    border-bottom: 1px solid #e8e8e8 !important;
    border-top: none !important;
}

.nav-main .navbar ul .nav-item .nav-link {
    padding: 10px 10px !important;
    font-size: 13px !important;
}

/* Profile dropdown in main nav */
.header-profile-dropdown {
    position: relative;
    margin-right: 8px;
}

.header-profile-dropdown .a-profile {
    display: flex !important;
    align-items: center;
    padding: 4px 6px;
    color: #555;
    line-height: 26px;
    border: none;
    background: none;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
}

.header-profile-dropdown .a-profile img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 4px;
    object-fit: cover;
}

.header-profile-dropdown .a-profile .icon-arrow-down {
    font-size: 9px;
    margin-left: 2px;
    color: #888;
}

.header-profile-dropdown .a-profile::after {
    display: none;
}



.header-profile-dropdown .dropdown-menu {
    border: 1px solid #e6e6e6;
    min-width: 200px;
    padding: 0;
    right: 0 !important;
    left: auto !important;
    z-index: 999999;
    margin-top: 8px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Auth links for non-logged-in users */
.header-auth-links {
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.header-auth-links .nav-link {
    padding: 0 !important;
    color: #555;
    font-size: 14px;
    line-height: 26px;
}

.header-auth-links .auth-sep {
    color: #333;
    margin: 0 6px;
    font-size: 13px;
}

/* Ensure all nav items in the right section align center vertically */
.nav-top .nav-top-right .nav.align-items-center {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
}

.nav-top .nav-top-right .nav.align-items-center > .nav-item {
    float: none;
    display: flex;
    align-items: center;
}

/* Tighten up the nav icons - icon only, no labels */
.nav-top .nav-top-right .li-main-nav-right a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    white-space: nowrap;
    position: relative;
}

.nav-top .nav-top-right .li-main-nav-right a i {
    float: none;
    margin-right: 0;
    font-size: 1.25rem;
    color: #555;
}

.nav-top .nav-top-right .li-main-nav-right a:hover i {
    color: #222;
}

/* Message icon badge */
.li-main-nav-messages a {
    position: relative;
}

.header-msg-badge {
    position: absolute !important;
    top: 0 !important;
    right: -4px !important;
    left: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    background-color: #fe2e3e;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    color: #fff;
    line-height: 16px;
}

/* Sell now button - smaller */
.nav-top .nav-top-right .btn-sell-now {
    white-space: nowrap;
    padding: 4px 12px !important;
    font-size: 12px !important;
    line-height: 1.1rem !important;
    border-radius: 4px !important;
}

/* Main-menu wrapper: no extra gaps */
.main-menu {
    padding: 0 !important;
    margin: 0 !important;
}

.main-menu > .container-fluid > .row {
    margin: 0;
    padding: 0;
}
