/* Text chữ e5e7eb */
/* Text nền  262626 111111 525252*/
/* Zanh 4f662a  6b8e34*/
.navbar-light .navbar-nav .nav-link {
    color: #fff;
}

/* Sticky header - black background with white text */
.navbar-light .sticky .sticky-area,
.navbar-light-sticky .sticky-area {
    background-color: #111;
    color: #fff;
}

/* Fix text color for sticky header - use higher specificity than themes.css */
header.main-header.navbar-light.navbar-light-sticky .nav-search,
.navbar-light-sticky .nav-search {
    color: #fff !important;
}

header.main-header.navbar-light.navbar-light-sticky .navbar-nav .nav-link,
.navbar-light-sticky .navbar-nav .nav-link {
    color: #fff !important;
}

header.main-header.navbar-light.navbar-light-sticky .navbar-nav .nav-link:hover,
header.main-header.navbar-light.navbar-light-sticky .navbar-nav .nav-link:focus,
.navbar-light-sticky .navbar-nav .nav-link:hover,
.navbar-light-sticky .navbar-nav .nav-link:focus {
    color: #fff !important;
}

/* Ensure all icons in sticky header are white */
header.main-header.navbar-light.navbar-light-sticky .fa-search,
.navbar-light-sticky .fa-search,
header.main-header.navbar-light.navbar-light-sticky .far,
.navbar-light-sticky .far,
header.main-header.navbar-light.navbar-light-sticky .fas,
.navbar-light-sticky .fas {
    color: #fff !important;
}

/* Badge colors in sticky header - make them more visible */
.navbar-light-sticky .number,
.navbar-light-sticky .badge {
    color: #ffc107 !important;
}

/* Caret color for dropdown */
.navbar-light-sticky .caret {
    border-top-color: #fff !important;
}

.fa-search,
.form-control {
    color: #fff;
}

.card-body,
.card-title {
    color: #e5e7eb;
}

.form-check-input:checked {
    background-color: #4f662a;
    border-color: #4f662a;
}

.sticker-buy {
    position: absolute;
    top: 5px;
    left: 5px;
    height: auto;
    width: 70px;
    background-color: #a22842;
    font-size: 10px;
    border-radius: 10px;
    padding: 2px 0;
    text-align: center;
    z-index: 10;
}

.sticker-free {
    position: absolute;
    top: 5px;
    left: 5px;
    height: auto;
    width: 50px;
    background-color: #4f662a;
    font-size: 10px;
    border-radius: 10px;
    padding: 2px 0;
    text-align: center;
    z-index: 10;
}

.sticker-favorite {
    position: absolute;
    top: 5px;
    left: 5px;
    height: 40px;
    width: 40px;
    background-color: #b52a83;
    border-radius: 50%;
    padding: 0;
    font-size: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticker-favorite i {
    margin: 0;
}

.sticker-pack {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    left: auto !important;
    height: auto;
    width: 45px;
    background: linear-gradient(135deg, #6f42c1, #563d7c);
    color: white;
    font-size: 10px;
    border-radius: 8px;
    padding: 3px 2px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.3);
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: all 0.3s ease;
}

/* Đảm bảo pack badge luôn ở góc phải */
.pack-badge-right {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    left: auto !important;
    margin: 0 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    float: none !important;
}



.sticker-pack:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.5);
}

.sticker-pack i {
    font-size: 8px;
    margin: 0;
}

/* Responsive pack sticker */
@media (max-width: 768px) {
    .sticker-pack {
        width: 35px;
        font-size: 8px;
        padding: 2px 1px;
        top: 3px;
        right: 3px;
    }

    .sticker-pack i {
        font-size: 7px;
    }

    .sticker-favorite {
        top: 5px;
        left: 3px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .sticker-pack {
        width: 30px;
        font-size: 7px;
        padding: 2px 1px;
        border-radius: 6px;
    }

    .sticker-pack i {
        font-size: 6px;
    }

    .sticker-favorite {
        top: 5px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

.border-product {
    border: 0.5px solid #717171;
    padding: 15px;
    margin-top: -1px;
    margin-right: -1px;
}

.primary-sidebar-inner {
    background-color: #000000;
    padding: 20px;
    border-radius: 8px;
    width: 260px !important;
}

.primary-sidebar {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.bg-black {
    background-color: #000000;
}

.list-filter-menu li a {
    color: #555;
    display: block;
    min-width: 45px;
    text-align: center;
    position: relative;
    transition: all 0.5s ease-out 0s;
    -webkit-transition: all 0.5s ease-out 0s;
    margin-left: 15px;
}

.color-admin-size a span {
    width: 40px !important;
    height: 40px !important;
    margin-left: 25px;
}

.favorite-content {
    display: none;
    position: absolute;
    background-color: #3a3a3a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    /* padding: 12px 16px; */
    z-index: 1;
    color: white;
}

.add-to-wishlist:hover .favorite-content {
    display: block;
}

.item-favorite:hover {
    background-color: #000000;
}

.active-favorite {
    background-color: #b52a83 !important;
    color: #fff !important;
}

.show-sidebar {
    display: block !important;
    position: absolute !important;
    z-index: 99;
}

.btn-close-nav {
    position: absolute;
    right: -20px;
    top: -20px;
    background-color: #1b1b1b;
}

.bg-black {
    background-color: #000 !important;
}

.choose-method-payment,
.choose-coupon-payment {
    cursor: pointer;
    margin: 10px 0;
    border: 2px solid #868686;
    border-radius: 10px;
}

.choose-method-payment:hover {
    background-color: #156b7d;
    border-radius: 10px;
    border: 2px solid #fff;
}

.choose-method-payment-active {
    border: 2px solid #fff;
    border-radius: 10px;
    background-color: #156b7d;
}

.choose-coupon-payment:hover {
    background-color: #3d2b59;
    border-radius: 10px;
    border: 2px solid #fff;
}

.choose-coupon-payment-active {
    border: 2px solid #fff;
    border-radius: 10px;
    background-color: #3d2b59;
}

.btn-close-ads {
    position: absolute;
    right: 0;
    color: #000;
    font-size: 35px;
}

/* Avatar Dropdown Menu Styles */
.avatar-dropdown-toggle {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.avatar-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    margin-top: 10px;
    overflow: hidden;
    animation: dropdownFadeIn 0.3s ease;
    pointer-events: auto;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar-dropdown-menu.show {
    display: block;
    pointer-events: auto;
}

.avatar-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #1a1a1a;
}

.dropdown-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    width: 100%;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info img {
    border: 3px solid #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.user-details h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
}

.user-details small {
    color: #999;
    font-size: 12px;
}

.dropdown-body {
    padding: 10px 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.dropdown-body::-webkit-scrollbar {
    width: 4px;
}

.dropdown-body::-webkit-scrollbar-track {
    background: #2c2c2c;
}

.dropdown-body::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 2px;
}

.dropdown-body::-webkit-scrollbar-thumb:hover {
    background: #777;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    gap: 12px;
}

.dropdown-item:hover {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    text-decoration: none;
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 14px;
    color: #999;
    transition: color 0.3s ease;
}

.dropdown-item:hover i {
    color: #3498db;
}

.dropdown-item span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-item .badge {
    font-size: 11px;
    padding: 4px 0px;
    border-radius: 12px;
}

.dropdown-footer {
    padding: 10px 0;
    border-top: 1px solid #333;
    background: rgba(0, 0, 0, 0.2);
}

.logout-item {
    color: #e74c3c !important;
}

.logout-item:hover {
    background: rgba(231, 76, 60, 0.1) !important;
    color: #ff6b6b !important;
}

.logout-item i {
    color: #e74c3c !important;
}

.logout-item:hover i {
    color: #ff6b6b !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .avatar-dropdown-menu {
        width: 280px;
        right: -20px;
    }

    .dropdown-header {
        padding: 15px;
    }

    .user-info {
        gap: 12px;
    }

    .user-info img {
        width: 35px;
        height: 35px;
    }

    .dropdown-item {
        padding: 10px 15px;
        font-size: 13px;
    }

    .dropdown-item i {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .avatar-dropdown-menu {
        width: 260px;
        right: -30px;
    }

    .dropdown-header {
        padding: 12px;
    }

    .user-details h6 {
        font-size: 14px;
    }

    .user-details small {
        font-size: 11px;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .dropdown-item:hover {
        transform: none;
    }

    .dropdown-item:active {
        background: rgba(52, 152, 219, 0.2);
        transform: translateX(3px);
    }
}

/* Ensure dropdown is above other elements on mobile */
@media (max-width: 768px) {
    .avatar-dropdown-menu {
        z-index: 1060;
        position: fixed;
        top: 80px;
        right: 10px;
        width: calc(100vw - 20px);
        max-width: 300px;
    }

    .avatar-dropdown-menu::before {
        display: none;
    }
}

/* Hide old menu styles */
.menu-account {
    display: none !important;
}

#account-info:hover .menu-account {
    display: none !important;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }

  @keyframes blink {
    0%, 100% { color: #fff; } /* màu sáng khi chớp */
    50% { color: #ff0000; } /* màu đỏ khi nháy */
  }

  .shake {
    animation: shake 0.8s infinite;
  }

  .blink {
    animation: blink 1s infinite;
  }

/* .bg-theme {
    background: url(/images/snow.gif) repeat;
    background-size: auto;
} */

.cay-thong-left {
    width: 15%;
    z-index: -1;
    position: fixed;
    bottom: -20px;
    left: 0%;
}

.cay-thong-small-left {
    width: 10%;
    z-index: -1;
    position: fixed;
    bottom: -20px;
    left: 10%;
}

.cay-thong-right {
    width: 15%;
    z-index: -1;
    position: fixed;
    bottom: -20px;
    right: 0;
}

.cay-thong-small-right {
    width: 10%;
    z-index: -1;
    position: fixed;
    bottom: -20px;
    right: 10%;
}

.ms-n5 {
    /* margin-left: -75px; */
}

.mt-n5 {
    margin-top: -10px;
}

.menu-scene {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #4f662a;
    text-transform: lowercase;
}

.menu-scene::first-letter {
    text-transform: uppercase
}

.menu-scene:hover {
    background-color: #4f662a;
    color: #cdfe7f;
    border: 1px solid #cdfe7f;
}

.menu-scene-active {
    background-color: #4f662a;
    color: #cdfe7f;
    border: 1px solid #cdfe7f;
}

.list-inline-item-scene {
    display: inline-flex;
    margin-top: 10px;
}

.list-inline-item-scene:not(:last-child) {
    margin-right: 0.5rem;
}

.icon-copy-url:hover {
    color: #cdfe7f;
}

.icon-copy-url {
    cursor: pointer;

}

.uppercase {
    text-transform: uppercase;
}

.banner-small-left {
    width: auto;
    z-index: -1;
    position: fixed;
    top: 150px;
    left: 0;
}
.banner-small-right {
    width: auto;
    z-index: -1;
    position: fixed;
    top: 150px;
    right: 0;
}

.banner-small-left>img, .banner-small-right>img {
    height: 90vh !important;
}

/* Interior Coupon Price Styling */
.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}
.discounted-price {
    color: #ffc107;
    font-weight: bold;
}
.price-section {
    display: flex;
    flex-direction: column;
}

.fz-22 {
    font-size: 22px;
}


/* Banner full image display - show entire image without cropping */
.banner-full-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

