:root {
    --text-color: #000000;
    --text-secondary-color: #666666;
    --primary-color: #01964a;
    --secondary-color: #fbd947;
    --price-color: #e50000;
    --topbar-bg: #fdd835;
    --topbar-color: #000000;
    --subheader-background: #138e4f;
    --subheader-color: #f9f9f6;
    --label-background: #fed632;
    --label-color: #ee4d2d;
    --footer-bg: #efefef;
    --footer-color: #000000;
    --show-loadmore: none!important;
    --order-loadmore: -1!important;
    --sale-pop-color: #d82e4d;
    --buynow-color: #efefef;
    --buynow-text-color: #01964a;
    --addtocart-color: #01964a;
    --addtocart-text-color: #ffffff;
    --cta-color: #01964a;
    --coupon-title-color: #f03f0c;
    --coupon-button-color: #01964a;
    --col-menu: 3;
    --link-color: #2F80ED;
    --hover-color: #017a3d;
    --light-color: #e6f4eb;
    --border-color: #b3d9c3;

}

@media (max-width: 575.98px) {
    .table-responsive-sm {
        display:block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    .table-responsive-sm>.table-bordered {
        border: 0
    }
}

@media (max-width: 767.98px) {
    .table-responsive-md {
        display:block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    .table-responsive-md>.table-bordered {
        border: 0
    }
}

@media (max-width: 991.98px) {
    .table-responsive-lg {
        display:block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    .table-responsive-lg>.table-bordered {
        border: 0
    }
}

@media (max-width: 1199.98px) {
    .table-responsive-xl {
        display:block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch
    }

    .table-responsive-xl>.table-bordered {
        border: 0
    }
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

.table-responsive>.table-bordered {
    border: 0
}


.title-head {
    margin-bottom: 20px
}

.col-left-ac .block-account .title-account {
    font-size: 19px;
    font-weight: 400;
    color: #212B25;
    margin-bottom: 7px;
    text-transform: uppercase
}

.col-left-ac .block-account p {
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 28px;
    color: #212B25;
    position: relative
}

.col-left-ac .block-account ul {
    padding: 0;
    margin: 0;
    list-style: none
}

.col-left-ac .block-account ul .title-info {
    font-weight: 400;
    font-size: 14px;
    color: #212B25;
    margin-bottom: 22px;
    display: block
}

@media (max-width: 992px) {
    .page_customer_account .col-right-ac .my-account .table-responsive-block .table-cart thead th {
        display:none
    }
}

@media (max-width: 992px) {
    .page_customer_account .col-right-ac .my-account .table-responsive-block tbody .first {
        border-top:0 !important;
        border: 1px solid #e1e1e1;
        margin-bottom: 20px;
        display: block
    }
}

@media (max-width: 992px) {
    .page_customer_account .col-right-ac .my-account .table-responsive-block tbody .first td {
        border:none;
        position: relative;
        text-align: left;
        padding-top: 10px;
        padding-bottom: 10px;
        display: block;
        width: 100% !important
    }

    .page_customer_account .col-right-ac .my-account .table-responsive-block tbody .first td:nth-child(1) {
        padding-left: 75px;
        border-top: #e1e1e1 1px solid
    }

    .page_customer_account .col-right-ac .my-account .table-responsive-block tbody .first td:nth-child(2) {
        padding-left: 48px
    }

    .page_customer_account .col-right-ac .my-account .table-responsive-block tbody .first td:nth-child(3) {
        padding-left: 58px
    }

    .page_customer_account .col-right-ac .my-account .table-responsive-block tbody .first td:nth-child(4) {
        padding-left: 115px
    }

    .page_customer_account .col-right-ac .my-account .table-responsive-block tbody .first td:nth-child(5) {
        padding-left: 106px
    }

    .page_customer_account .col-right-ac .my-account .table-responsive-block tbody .first td:nth-child(6) {
        padding-left: 107px
    }

    .page_customer_account .col-right-ac .my-account .table-responsive-block tbody .first td:before {
        position: absolute;
        top: 10px;
        font-size: 14px;
        left: 10px;
        padding-right: 10px;
        text-align: left;
        white-space: nowrap;
        font-weight: 400;
        display: block
    }
}

.page_customer_account .col-right-ac .my-account .table-responsive-block tbody .first td:nth-child(3) {
    width: 25%
}

.page_order {
    margin-bottom: 40px
}

.page_order .head-title h1 {
    text-transform: none;
    float: left;
    display: inline-block
}

.page_order .head-title .order_date {
    float: right;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    display: inline-block;
    margin-top: 5px
}

@media (max-width: 767px) {
    .page_order .head-title .order_date {
        display:block;
        width: 100%;
        margin: 0 0 20px
    }
}

.page_order .shipping_status,.page_order .payment_status {
    display: inline-block;
    font-size: 14px;
    line-height: 16px
}

.page_order .payment_status {
    margin-right: 35px
}

.page_order .body_order {
    padding-left: 5px
}

@media (max-width: 767px) {
    .page_order .body_order {
        padding-left:15px
    }
}

.page_order .body_order:first-child {
    padding-left: 15px
}

.page_order .body_order .box-address {
    margin-top: 30px
}

@media (max-width: 767px) {
    .page_order .body_order .box-address {
        margin-top:0px
    }
}

.page_order .body_order .box-address .title-head {
    font-size: 16px;
    text-transform: uppercase;
    line-height: 19px;
    font-weight: 400;
    margin-bottom: 6px
}

@media (min-width: 768px) {
    .page_order .body_order .box-address .box-des {
        min-height:110px;
        padding: 13px 25px 10px 20px;
        border: 1px solid #e0e0e0;
        border-radius: 5px
    }
}

.page_order .body_order .box-address .box-des strong {
    text-transform: uppercase
}

.page_order .body_order .box-address .box-des p {
    color: #212B25;
    font-size: 14px;
    line-height: 16px;
    vertical-align: top;
    text-align: left;
    margin-bottom: 8px
}

.btn_register,
.btn-recover,
.btn-login {
    width: 100%;
    background: var(--secondary-color) !important;  /* #fbd947 */
    color: var(--primary-color) !important;         /* #01964a */
    font-size: 1rem !important;
    font-weight: 400 !important;
    border-radius: 10px !important;
    transition: background-color 0.3s ease;
}

.btn_register:hover,
.btn-recover:hover,
.btn-login:hover {
    background: #ffe85e !important; /* sáng hơn #fbd947 */
    color: var(--primary-color) !important; /* giữ nguyên */
}

.social-login--facebooks a {
    border-radius: 999px
}

.form-control {
    font-size: 1rem
}

.table {
    font-size: 14px
}

.table a {
    color: var(--primary-color);
    filter: brightness(0.9)
}

.table a:hover {
    filter: brightness(1.2)
}

.table th,.table td {
    padding: 10px 5px
}

.body_order,.col-right-account {
    font-size: 14px
}

.body_order .fa,.body_order .fas,.col-right-account .fa,.col-right-account .fas {
    color: var(--primary-color)
}

.social-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary-color);
    font-size: 0.95rem;
    font-weight: 500;
    gap: 0.75rem;
}

.social-divider .line {
    flex: 1;
    height: 1px;
    background-color: #ddd;
    max-width: 120px;
}

.social-btn {
    display: inline-block;
    padding: 4px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color); /* #01964a */
    margin-bottom: 0.5rem;
    }

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary-color); /* #666666 */
    margin: 0;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #0d7e3a; /* tông xanh đậm hơn khi hover */
    text-decoration: none;
}

@media (min-width: 768px) {
    .col-right-account {
        border-left:1px solid #eee
    }
}

.body_order {
    padding: 10px 10px !important
}

@media (max-width: 767px) {
    .body_order+.body_order {
        border-left:0px
    }
}

.page_address {
    font-size: 14px
}

.page_address strong {
    font-weight: 400;
    color: var(--secondary)
}

@media screen and (max-width: 767px) {
    .table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th {
        white-space:nowrap
    }
}

.btn-more,.btn-submit {
    color: #fff;
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important
}

.btn-more:hover,.btn-submit:hover {
    color: #fff;
    filter: brightness(1.2)
}

.col-left-ac .block-account ul .title-info.active {
    color: var(--primary-color)
}

@media (min-width: 992px) {
    .col-left-ac .block-account {
        position:-webkit-sticky;
        position: sticky;
        top: 16px;
        border-right: 2px solid #f4f4f4
    }
}

@media (max-width: 991px) {
    .col-left-ac {
        margin-bottom:15px
    }

    .col-left-ac:after {
        content: '';
        width: calc(100% + 32px);
        height: 10px;
        background: #f4f4f4;
        display: block;
        margin-left: -16px
    }
}

.no-padding {
    padding: 0px
}


.custom-btn-quantity {
    width: 40px;
    height: 40px;
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.minus {
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.add {
    border-radius: 0 20px 20px 0;
    border-left: none;
}

.custom-btn-quantity:hover {
    background-color: var(--light-color);
    color: var(--hover-color);
}

.custom-input-quantity {
    width: 50px;
    height: 40px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
    text-align: center;
    color: var(--primary-color);
    outline: none;
    background-color: white;
    -moz-appearance: textfield;
}

.custom-input-quantity::-webkit-outer-spin-button,
.custom-input-quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-input-quantity:focus {
    box-shadow: 0 0 0 2px rgba(1, 150, 74, 0.2);
}

.submitCartButton {
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(1, 150, 74, 0.2);
}

.submitCartButton:hover {
    background-color: #017a3d !important;
    border-color: #017a3d !important;
}

.buyNowButton {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.buyNowButton:hover {
    color: white !important;
    background-color: #01964a !important;
    border-color: #01964a !important;
}

.buyNowButton:disabled {
    color: #aaa !important;
    background-color: #f0f0f0 !important;
    border-color: #ccc !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.accordion-button:not(.collapsed) {
  color: #01964a;
}

.accordion-button {
  color: #000;
}

.custom-dash {
  border-bottom: 1px dashed #333;
}

.radio-custom {
  display: none;
}

.radio-custom+label {
  display: inline-block;
  padding: 2px 22px;
  background-color: #fff;
  border: 1px solid #000;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 4px;
}

.radio-custom:checked+label {
  background-color: #000;
  border: 1px solid #000;
  color: #fff;
}

.accordion-header {
  --bs-accordion-active-bg: var(--primary-color);
  --bs-accordion-btn-focus-box-shadow: 0px;
  --bs-accordion-active-color: #fff;
}

.custom-pd {
  padding: 6px 12px;
  border-radius: 6px;
}

.custom-pd-active {
  background: var(--primary-color);
  color: white;
}

.custom-pd-active:hover {
  color: #fff;
}

.pagination {
  --bs-pagination-hover-color: var(--primary-color);
  --bs-pagination-focus-box-shadow: 0px;
}

.page-link {
  color: var(--primary-color);
}

.nav-pills .nav-link.active {
  background: var(--primary-color);
}

.nav-pills .nav-link {
  color: #000;
}

.pagination-danger .page-link {
  color: #01964a;
  background-color: #fff;
  border-color: #01964a;
}

.pagination-danger .page-link:hover {
  color: #fff;
  background-color: #bd2130;
  border-color: #bd2130;
}

.pagination-danger .page-item.active .page-link {
  color: #fff;
  background-color: #01964a;
  border-color: #01964a;
}

.pagination-danger .page-item.active .page-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.5);
}

.rating input[type="radio"] {
  display: none;
}

.rating label {
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
  order: 1;
}

.rating label:hover,
.rating label:hover~label,
.rating input[type="radio"]:checked~label {
  color: #ffcc00;
}

.rating {
  display: flex;
  flex-direction: row-reverse;
}

.slide-item img {
  object-fit: cover;
  height: 590px;
}

.thankyou-section {
  background-color: rgb(172, 0, 7);
}

.top_bar {
  position: relative;
  z-index: 1001;
}

.custom-card-hover {
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}

.custom-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border-color: #ddd;
}

.object-fit-contain {
  object-fit: contain;
  background-color: #f9f9f9;
}

.progress {
  border-radius: 3px;
  background-color: #f0f0f0;
}

.product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 2.8em;
}

.discount-ribbon {
  position: relative;
  height: 28px;
  background: #01964a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.discount-ribbon::before {
  content: "";
  position: absolute;
  left: -8px;
  bottom: 0;
  width: 0;
  height: 0;
  border-right: 8px solid #b02a37;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.discount-ribbon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 8px solid #b02a37;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.ribbon-tail {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 6px;
  height: 6px;
  background: #8a222c;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.discount-percent {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.products-swiper {
  padding: 30px !important;
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
  position: absolute;
  top: 49%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.swiper-button-prev-custom {
  left: 0px;
}

.swiper-button-next-custom {
  right: 0px;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  background: #01964a;
  color: white;
}

.productThumbsSwiper .swiper-slide {
  opacity: 0.6;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  max-width: 70px !important;
}

.productThumbsSwiper .swiper-slide-thumb-active {
  opacity: 1;
  border-color: #01964a;
}

.quantity-section {
  margin-bottom: 1.5rem;
}

.quantity-label {
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quantity-btn {
  border: 1.5px solid #ccc;
  background-color: #fff;
  padding: 6px 10px;
  min-width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.quantity-btn:hover {
  background-color: #f2f2f2;
}

.quantity-input {
  width: 60px;
  height: 36px;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  border: 1.5px solid #ccc;
  border-radius: 4px;
}

.quantity-stock {
  margin-left: 10px;
  font-size: 0.85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
}

.quantity-stock i {
  font-size: 0.9rem;
}

.modal-title-underline {
  width: 80px; 
  height: 3px; 
  background: #01964a;
  border-radius: 50px;
}

.section-home-header {
  font-size: 22px;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.section-home-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 150px;             
  height: 2px;              
  background-color: #000;
  border-radius: 1px;
}


.ck-content-wrapper {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.ck-content-wrapper img,
.ck-content-wrapper table,
.ck-content-wrapper iframe,
.ck-content-wrapper video {
  max-width: 100%;
  height: auto;
  display: block;
}

.flatpickr-current-year .flatpickr-yearDropdown-years {
  appearance: menulist;
  background: transparent;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  font-weight: 300;
  height: auto;
  line-height: inherit;
  margin: -1px 0 0 0;
  outline: none;
  padding: 0 0 0 .5ch;
  position: relative;
  vertical-align: initial;
  -webkit-box-sizing: border-box;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  width: auto;
}

.hover-red:hover {
  color: #d10000; 
}

.object-fit-cover {
  object-fit: cover;
}

.swal2-styled.swal2-confirm {
  background-color: #d10000 !important;
}

.cart-progress {
  padding: 1rem 0;
}

.step {
  text-align: center;
  flex: 1;
}

.step-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background-color: #f8f9fa;
  color: #6c757d;
  border: 2px solid #dee2e6;
}
.step.active .step-icon {
  background-color: #01964a;
  color: white;
  border-color: #01964a;
}

.step-label {
  font-size: 0.9rem;
  color: #6c757d;
}

.step.active .step-label {
  color: #01964a;
  font-weight: 500;
}

.step-connector {
  flex: 1;
  height: 2px;
  background-color: #dee2e6;
  margin: 0 10px;
  position: relative;
  top: -15px;
}

.step-connector.active {
  background-color: #01964a;
}

.cart-item {
  transition: background-color 0.2s;
}
.cart-item:hover {
  background-color: #f8f9fa;
}

.step.completed .step-label {
  color: #212529;
  font-weight: 500;
}

.invoice-container {
  max-width: 950px;
  margin: 40px auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.invoice-header {
  background: linear-gradient(135deg, #01964a, #138e4f);
  color: white;
  padding: 30px;
  border-radius: 10px 10px 0 0;
}

.invoice-body {
  padding: 30px;
}

.divider {
  border-top: 2px dashed #dee2e6;
  margin: 20px 0;
}

.badge-success {
  background-color: #28a745;
  padding: 8px 15px;
  font-size: 14px;
}

.product-img {
  height: 70px;
  object-fit: contain;
  border-radius: 5px;
  border: 1px solid #eee;
}

.thank-you {
  background-color: #f8f9fa;
  border-left: 4px solid #01964a;
  padding: 15px;
}

.print-btn {
  background: #fff;
  color: #01964a;
  border: 2px solid #01964a;
  transition: all 0.3s;
}
.print-btn:hover {
  background: #01964a;
  color: white;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline-step {
  position: relative;
  padding-bottom: 30px;
}

.timeline-icon {
  position: absolute;
  left: -50px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e9ecef;
  color: #6c757d;
  border: 2px solid white;
  box-shadow: 0 0 0 2px #e9ecef;
}

.timeline-step.completed .timeline-icon {
  background-color: #28a745;
  color: white;
  box-shadow: 0 0 0 2px #28a745;
}

.timeline-step.active .timeline-icon {
  background-color: #01964a;
  color: white;
  box-shadow: 0 0 0 2px #01964a;
  animation: pulse 1.5s infinite;
}

.timeline-content {
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 6px;
}

.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 40px;
  height: calc(100% - 20px);
  width: 2px;
  background: #e9ecef;
}

.timeline-step.completed:not(:last-child)::before {
  background: #28a745;
}

.text-tokyo-red {
  color: #28a745 !important;
}


.payment-status .badge {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}

.payment-status .badge small {
  font-size: 0.75rem;
}

.filter-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.btn-reset {
    background: none;
    border: none;
    padding: 0;
    font-size: 14px;
}

.filter-section {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

  .filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    cursor: pointer;
    font-size: 15px;
}

.filter-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.filter-item {
    margin-bottom: 8px;
}

.filter-item:last-child {
    margin-bottom: 0;
}

.filter-item .form-check {
    display: flex;
    align-items: center;
}

.filter-item .form-check-input {
    margin-top: 0;
}

.filter-item .form-check-label {
    flex-grow: 1;
    font-size: 14px;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

@media (max-width: 768px) {
  .swiper-button-prev-custom {
      left: 0;
  }
  
  .swiper-button-next-custom {
      right: 0;
  }
  
  .products-swiper {
      padding: 0 15px;
  }

    .step-icon {
      width: 40px;
      height: 40px;
      font-size: 1rem;
  }
  .step-label {
      font-size: 0.8rem;
  }
}

@keyframes down {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .form-width-custom {
    width: 100%;
    margin: auto;
  }

  .news-img-custom {
    width: 100%;
  }

  .group-text {
    width: 100% !important;
  }

  .header-pc {
    display: none;
  }

  .header-mobile {
    display: block;
  }
}

@media (max-width: 768px) {
  .form-width-custom {
    width: 80%;
    margin: auto;
  }

  .header-mobile {
    display: block;
  }

  .header-pc {
    display: none;
  }
}

@media (max-width: 992px) {
  .form-search {
    display: none;
  }

  .group-icon {
    display: none !important;
  }

  .group-icon-table {
    display: flex !important;
  }

  .form-width-custom {
    width: 60%;
    margin: auto;
  }
}

.product-sorting-bar {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.btn-sorting-dropdown {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.btn-sorting-dropdown:hover {
    border-color: #01964a;
    color: #01964a;
}

.btn-sorting-dropdown:after {
    margin-left: 10px;
}

.sorting-label {
    color: #888;
    margin-right: 5px;
}

.current-sort {
    font-weight: 500;
    color: #333;
}

.dropdown-menu {
    border: 1px solid #f0f0f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-width: 220px;
}

.dropdown-item {
    padding: 8px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.dropdown-item:hover {
    color: #01964a;
}

.dropdown-item.active {
    color: #01964a;
}

.dropdown-item.active .fa-check {
    visibility: visible;
    color: #01964a;
    margin-right: 8px;
}

.btn-filter-mobile {
    background: #01964a;
    color: white;
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 14px;
}

.btn-filter-mobile:hover {
    background: #01964a;
    color: white;
}

.btn-reset-section {
    transition: all 0.3s;
    opacity: 0.8;
}
.btn-reset-section:hover {
    opacity: 1;
    color: #01964a !important;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-image {
    height: 180px;
    display: block;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 15px;
}

.blog-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.blog-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .brand-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-image {
        height: 150px;
    }
    
    .blog-card {
        margin-bottom: 20px;
    }
}

/* Phần bình luận */
.comment-item {
    transition: all 0.3s ease;
    padding: 10px;
}

.comment-item:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
}

.star-rating {
    color: #ffc107;
    font-size: 0.9rem;
}

.comment-text {
    line-height: 1.6;
    color: #333;
}

.comment-actions .btn {
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.comment-actions .btn:hover {
    background-color: #f1f1f1;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
}

.user-avatar img {
    object-fit: cover;
}

/* Responsive */
@media (max-width: 576px) {
    .comment-item {
        padding: 8px;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-header small {
        margin-top: 4px;
    }
}

.footer-about img {
    max-height: 60px;
    width: auto;
}

.contact-item i {
    font-size: 1.1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--bs-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-menu h5,
.newsletter h5,
.payment-methods h5 {
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-menu h5::after,
.newsletter h5::after,
.payment-methods h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.hover-primary:hover {
    color: var(--bs-primary) !important;
}

.input-group button {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (max-width: 768px) {
    .footer-menu, .newsletter {
        margin-top: 2rem;
    }
    
    .footer-menu h5 {
        cursor: pointer;
    }
    
    .footer-menu h5.active + ul {
        display: block;
    }
}

.btn-like-review.active {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: #0d6efd;
}

.submitCartButton:disabled {
    background-color: #ccc !important;
    border-color: #ccc !important;
    cursor: not-allowed;
    color: #666;
}

.btn-disabled {
    cursor: not-allowed !important;
    pointer-events: none;
}

.custom-btn-quantity {
    transition: opacity 0.3s ease;
}

@media (max-width: 767.98px) {
.body {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Form tra cứu */
.bg-white.rounded.shadow-sm {
    padding: 1.5rem !important;
}

h4.text-center.mb-4 {
    font-size: 1.25rem;
}

/* Invoice card */
.invoice-container {
    padding: 1rem !important;
}

.invoice-header h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem !important;
}

.d-flex.justify-content-between.align-items-center.mb-4 {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
}

.payment-status {
    width: 100%;
    text-align: center;
}

.payment-status .badge {
    display: inline-flex;
    width: auto;
}

/* Thông tin đơn hàng */
.row.text-start {
    flex-direction: column;
    gap: 1.5rem;
}

/* Thanh toán */
.row.justify-content-end .col-md-6 {
    width: 100%;
}

.card.border-0.shadow-sm {
    margin-top: 1.5rem;
}

/* Nút hành động */
.d-flex.justify-content-between {
    flex-direction: column;
    gap: 0.75rem;
}

.btn, .print-btn {
    width: 100%;
}

/* Thông báo không tìm thấy đơn hàng */
.bg-white.rounded.shadow-sm.text-center {
    padding: 1.5rem !important;
}

/* Điều chỉnh kích thước chữ */
h5, h6 {
    font-size: 1rem;
}

p, .form-text {
    font-size: 0.875rem;
}

/* Input form */
.form-control.px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Badge trạng thái */
.badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem !important;
}
}

/* Small mobile devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .invoice-header h1 {
      font-size: 1.25rem;
  }

  .thank-you h5 {
      font-size: 1rem;
  }

  .table-responsive-block {
      padding-left: 0;
      padding-right: 0;
  }

  .lookup-btn {
      font-size: 0.9rem;
  }
}

/* Style cho phần reply */
.reply-form {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.reply-textarea {
    border-radius: 8px;
    resize: none;
    border: 1px solid #dee2e6;
    transition: border-color 0.3s;
}

.reply-textarea:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-submit-reply {
    border-radius: 20px;
    padding: 0.375rem 1.25rem;
}

.btn-cancel-reply {
    border-radius: 20px;
    padding: 0.375rem 1.25rem;
}

.replies-list {
    margin-left: 1.5rem;
}

.reply-item {
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* Animation khi mở form reply */
.reply-form {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}