.woocommerce .product_list_container {
  display: flex;
  gap: 24px;
}
.woocommerce .product_list_filter {
  width: 280px;
}
.woocommerce .product_list_filter .sidebar-inner {
  gap: 8px;
  margin-bottom: 12px;
}
.woocommerce .product_list_filter .filter-block {
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
}
.woocommerce .product_list_filter .filter-title {
  font-weight: 600;
  margin-bottom: 8px;
}
.woocommerce .product_list_main {
  width: 100%;
  margin-bottom: 16px;
}
.woocommerce .product_list_content {
  flex: 1;
}
.woocommerce .product_list_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.woocommerce .gift-excerpt {
  margin: 8px 0;
  color: #666;
  font-size: 13px;
}
.hg-popup {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
}
.hg-popup .hg-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hg-popup .hg-popup__box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.hg-popup .hg-popup__close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: transparent;
  border: none;
  font-size: 22px;
  color: #666;
  cursor: pointer;
}
.hg-popup .hg-popup__content {
  padding: 24px;
}
.hg-popup .hg-popup__title {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: #049c98;
}
.hg-popup .hg-popup__actions {
  padding: 0 24px 20px;
}
.hg-popup .hg-popup__primary {
  border-radius: 24px;
  padding: 10px 18px;
}
.hg-insufficient .hg-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.hg-insufficient .hg-stat {
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
  text-align: center;
}
.hg-insufficient .hg-label {
  display: block;
  color: #666;
  font-size: 12px;
  margin-bottom: 6px;
}
.hg-insufficient .hg-value {
  font-weight: 700;
}
.hg-insufficient .hg-missing .hg-value {
  color: #dc3545;
}
.hg-success .hg-voucher {
  padding: 10px 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hg-success .hg-msg p {
  color: #666;
  line-height: 1.6;
  margin: 0 0 10px;
}
.hg-success .hg-msg p:last-child {
  margin-bottom: 0;
}
.hg-tip {
  color: #049c98;
}

.hg-voucher .hg-label {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hg-success .hg-code {
  font-weight: 700;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 6px 10px;
}
.hg-success .hg-amount {
  font-weight: 600;
  color: #049c98;
  margin-left: 6px;
}

.hg-copy {
  font-size: 12px !important;
  padding: 0px 10px !important;
}
.balance-banner {
  margin-top: 12px;
  background: #fff4e6;
  border: 1px solid #ffd7a3;
  border-radius: 12px;
  padding: 12px 16px;
}
.balance-banner .bb-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.balance-banner .bb-label {
  color: #7a5a00;
  font-size: 12px;
}
.balance-banner .bb-value {
  font-weight: 700;
  color: #7a5a00;
}

.points-top-badge { 
  margin-left: 12px;
  padding: 7px;
  background: #caedec;
  border: 1px solid #049c98;
  border-radius: 30px;
  font-size: 14px;
  color: #049c98;
  vertical-align: middle;
}
.hg-basket {
  min-width: 280px;
}
.hg-basket-header {
  font-weight: 700;
  margin-bottom: 12px;
}
.hg-basket-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.hg-basket-item {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.hg-basket-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
}
.hg-basket-title {
  font-weight: 600;
  color: #333;
}
.hg-basket-points {
  color: #049c98;
  font-weight: 700;
}
.hg-basket-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
}
.hg-basket-summary .hg-label {
  color: #666;
  font-size: 12px;
  margin-right: 6px;
}
.hg-basket-summary .hg-value {
  font-weight: 700;
}
.hg-basket-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.hg-basket-actions .button {
  border: none;
  border-radius: 24px;
  padding: 10px 16px;
  background: #049c98;
  color: #fff;
  cursor: pointer;
}
.hg-basket-actions .button.hg-basket-clear {
  background: #e74c3c;
}
@media (max-width: 480px) {
  .hg-basket-item {
    padding: 8px;
  }
  .hg-basket-item img {
    width: 46px;
    height: 46px;
  }
}

.hg-fab-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000001;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #049c98;
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.hg-fab-cart .hg-fab-icon {
  font-size: 16px;
  line-height: 1;
}
.hg-fab-cart .hg-fab-text {
  font-size: 13px;
}
.hg-fab-cart .hg-fab-badge {
  position: absolute;
  left: -4px;
  top: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #333333;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Slider styles (jQuery UI) */
.points-slider-wrap {
  margin-top: 8px;
}
.points-values {
  margin-top: 8px;
  color: #333;
  font-weight: 500;
}
.points-slider.ui-slider {
  position: relative;
  height: 6px;
  background: #eee;
  border-radius: 6px;
}
.points-slider .ui-slider-range {
  position: absolute;
  height: 100%;
  background: #04a19c;
  border-radius: 6px;
}
.points-slider .ui-slider-handle {
  position: absolute;
  top: -6px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 2px solid #04a19c;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Quick View */
.hisense-quick-view-modal .modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 1200px;
  width: 95%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.hisense-quick-view-modal .modal-content {
  position: relative;
}
.hisense-quick-view-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.hisense-quick-view-modal .modal-body {
  padding: 24px;
}
.quick-view-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.quick-view-images {
  flex: 1;
}
.quick-view-details {
  flex: 1;
}
.main-image {
  position: relative;
  background: #f8f8f8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.quick-view-main-image {
  max-width: 100%;
  max-height: 520px;
}
.image-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.image-thumbnails .thumbnail {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.image-thumbnails .thumbnail.active {
  border-color: #04a19c;
}
.image-thumbnails .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quick-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
.quick-nav.prev {
  left: 10px;
}
.quick-nav.next {
  right: 10px;
}

/* Redeem button alignment */
.hisense-quick-view-modal .modal-actions .redeem-btn {
  background: #049c98;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 18px;
  cursor: pointer;
}

.product-actions {
  display: grid;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  grid-template-columns: repeat(2, 1fr);
}

.redeem-btn {
  background: #049c98;
  color: #fff;
  border: 1px solid #049c98;
}
.view-btn {
  background: white;
  color: #049c98;
  border: 1px solid #049c98;
}
.login-btn {
  background: #049c98;
  color: #fff;
  border: 1px solid #049c98;
  width: 50%;
  display: inline-block !important;
}
.gift-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 100px;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.clear-filter {
  color: #333;
  font-size: 10px;
  float: right;
  text-decoration: underline;
}
.filter-icon {
  float: right;
}
.redeem-history-title {
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #333;
}
.order-details-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid #e9ecef;
}
.order-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background: #049c98;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.order-table-header > div {
  padding: 16px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}
.order-table-header > div:last-child {
  border-right: none;
}
.order-items {
  background: #fff;
}
.order-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
  transition: background-color 0.2s ease;
}
.order-item:hover {
  background-color: #f8f9fa;
}
.order-item > div {
  padding: 18px 20px;
  text-align: center;
}
.order-item .col-product {
  text-align: left;
}
.item-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #666;
}
.item-meta .label {
  font-weight: 500;
  margin-right: 6px;
}
.item-meta .value {
  font-weight: 600;
  color: #333;
}
.order-details-table {
  margin-top: 12px;
  margin-bottom: 24px;
}
.redeem-day {
  margin-bottom: 18px;
}
.redeem-day-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  background: #049c98;
  color: #fff;
  font-weight: 500;
  border-radius: 12px;
  padding: 12px 16px;
}
.redeem-day-header .rd-col:last-child {
  text-align: right;
}
.order-item > div:nth-child(2) {
  color: #049c98;
  background: rgba(4, 156, 152, 0.08);
  border-radius: 20px;
  padding: 6px 12px;
  margin: 0 auto;
}
.order-item > div:nth-child(3) {
  color: #049c98;
  font-weight: 700;
}
.order-item > div:nth-child(4) {
  color: #666;
}
.hisense-quick-view-modal .modal-close:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.quick-nav:hover {
  background: #049c98;
  color: #fff;
}
.hisense-quick-view-modal .modal-actions .redeem-btn:hover {
  background: #037e7a;
}
@media (max-width: 768px) {
  .order-table-header {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .order-table-header > div:nth-child(4) {
    display: none;
  }
  .order-item {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .order-item > div:nth-child(4) {
    display: none;
  }
}
.redeem-basket {
  max-width: 520px;
  margin: 0 auto;
}
.rb-header {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}
.rb-list {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.rb-item {
  position: relative;
}
.rb-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f7f7;
  border-radius: 16px;
  padding: 12px 16px;
}
.rb-left {
  display: flex;
  gap: 12px;
  align-items: center;
}
.rb-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}
.rb-info .rb-title {
  font-weight: 600;
  color: #333;
}
.rb-info .rb-sub {
  color: #666;
  font-size: 13px;
  margin-top: 2px;
}
.rb-right {
  display: flex;
  align-items: center;
}
.rb-qty {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.rb-qty .rb-minus,
.rb-qty .rb-plus {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  border: none;
  background: #049c98;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.rb-qty .rb-minus:disabled,
.rb-qty .rb-plus:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.rb-qty .rb-count {
  padding: 0 10px;
  font-weight: 600;
}
.rb-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rb-remove {
  position: static;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  border: none;
  background: #e74c3c;
  color: #fff;
  cursor: pointer;
}
.rb-summary {
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.rb-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}
.rb-row .rb-label {
  color: #666;
}
.rb-row .rb-val {
  font-weight: 700;
  color: #333;
}
.rb-row.rb-total .rb-val {
  color: #049c98;
}
.rb-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.rb-actions .rb-checkout {
  flex: 1;
  border: none;
  border-radius: 28px;
  padding: 12px 18px;
  background: #049c98;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.rb-actions .rb-clear {
  border: none;
  border-radius: 28px;
  padding: 12px 18px;
  background: #e0e0e0;
  color: #333;
  cursor: pointer;
}
@media (max-width: 480px) {
  .rb-thumb {
    width: 46px;
    height: 46px;
  }
  .rb-card {
    padding: 10px 12px;
  }
  .rb-actions .rb-checkout,
  .rb-actions .rb-clear {
    padding: 10px 16px;
  }
}


@media (max-width: 767px) {
  .badge{ padding: 1px 9px;}
  .hisense-compare-label{ font-size: 13px !important; }
  .hisense-pc-product-title{ font-size: 12px;}
  .woocommerce-Price-amount.amount{ font-size: 14px;}
  .woocommerce .product_list_filter{ width: 100% !important;}
  .woocommerce .product_list_content{ width: 100%;}
  .page-template-page-redeem-shop .woocommerce .product_list_container{flex-wrap: wrap;}
  .page-template-page-redeem-shop .woocommerce-ordering{ width: 100%; text-align: left;}
  .woocommerce .product_list_header{flex-wrap: wrap;}
  .woocommerce .product_list_container .product-image img{ height: auto;}

}


.quick-view-details .product-summary .product-description ul{ list-style-type: disc; }
