:root{
      --card-bg:#fff;
      --text:#1f2937;
      --muted:#6b7280;
      --border:#e5e7eb;
      --brand:#10b981;    /* green check */
      --accent:#ef4444;   /* heart */
      --star:#f59e0b;     /* orange star */
      --star-off:#e5e7eb; /* empty star */
      --link:#111827;
    }
body.tp_background,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
select,
span,
a,
p,
sub,
blockquote,
th,
td {
    font-family: Sans-serif
}

body {
    font-size: 15px !important
}

.tp_footer,
.tp_footer a,
.tp_footer p {
    color: #000000 !important
}

.tp_footer a:hover {
    color: #ff8800 !important
}

.tp_footer,
.tp_footer a {
    font-size: 13px !important
}

.tp_product_detail .tp_product_detail_related {
    display: block !important
}

.tp_product_detail .tp_product_detail_suggest {
    display: block !important
}

.tp_product_detail .tp_product_detail_suggest {
    display: block !important
}

.tp_product_detail .tp_product_detail_history {
    display: block !important
}

.tp_product_detail .tp_product_detail_comment {
    display: block !important
}

.tp_product_category .tp_product_category_filter_attribute {
    display: block !important
}

.tp_product_category .tp_product_category_filter_brand {
    display: block !important
}

.tp_product_category .tp_product_category_filter_category {
    display: block !important
}

.tp_product_category .tp_product_category_filter_price {
    display: block !important
}

img {
    max-width: 100%;
}

.fb-customerchat>span>iframe.fb_customer_chat_bounce_out_v2 {
    max-height: 0 !important;
}

.fb-customerchat>span>iframe.fb_customer_chat_bounce_in_v2 {
    max-height: calc(100% - 80px) !important;
}

figure.image {
    clear: both;
    display: table;
    margin: .9em auto;
    min-width: 50px;
    text-align: center;
    width: auto !important;
}

figure.image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    min-width: 100%;
}

figure.image>figcaption {
    background-color: #f7f7f7;
    caption-side: bottom;
    color: #333;
    display: block;
    font-size: .75em;
    outline-offset: -1px;
    padding: .6em;
    word-break: break-word;
}

figure.image img,
img.image_resized {
    height: auto !important;
    aspect-ratio: auto !important;
}

.review-card {
    max-width: 880px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.review-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    letter-spacing: .5px;
}

.name {
    font-weight: 700;
    margin-right: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /*color: #059669;*/
    background-image: linear-gradient(#7CC9EF, #3E97C9);
    border: 1px solid #bbf7d0;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 13px;
}

.badge svg {
    width: 16px;
    height: 16px;
    color: var(--brand)
}

.stars {
    display: inline-flex;
    gap: 4px;
    margin-left: auto;
}

.stars svg {
    width: 18px;
    height: 18px;
}

.star--on {
    color: var(--star)
}

.star--off {
    color: var(--star-off)
}

.review-body {
    margin-top: 10px;
    font-size: 15px;
}

.dot {
    width: 4px;
    height: 4px;
    background: #d1d5db;
    border-radius: 50%
}

 /* ===== Pagination Styles ===== */
    .pagination {
      display: flex;
      justify-content: flex-end; /* align right */
      margin-top: 12px;
      gap: 6px;
      font-size: 14px;
    }

    .pagination a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 32px;
      height: 32px;
      padding: 0 10px;
      border-radius: 6px;
      border: 1px solid #d1d5db;
      color: #374151;
      text-decoration: none;
      background: #fff;
      transition: all 0.2s;
    }

    .pagination a:hover {
      background: #f3f4f6;
    }

    .pagination a.active {
      background: #2563eb;
      color: #fff;
      border-color: #2563eb;
      font-weight: 600;
    }

    .pagination a.disabled {
      pointer-events: none;
      opacity: 0.4;
    }
    
/* Widge support*/
/* Widget wrapper */
.arcontactus-widget {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 9999;
  transition: transform .35s ease, opacity .35s ease;
}

/* Auto-hide state (mobile only – JS control) */
.arcontactus-widget.hide {
  transform: translateY(120%);
  opacity: 0;
}

/* Popup */
.messangers-block {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 220px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  padding: 10px 0;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all .25s ease;
}

.arcontactus-widget.active .messangers-block {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Item */
.messanger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: #333;
  font-size: 15px;
}

.messanger img {
  width: 32px;
  height: 32px;
}

.messanger:hover {
  background: #f4f4f4;
}

/* Button */
.arcontactus-message-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(#7CC9EF, #3E97C9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  box-shadow: 0 8px 20px rgba(62, 151, 201, .45);
}

/* Pulse */
.arcontactus-message-button::before,
.arcontactus-message-button::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(124, 201, 239, .45);
  animation: pulse 2s infinite;
}

.arcontactus-message-button::after {
  animation-delay: 1s;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (hover: hover) {
  .arcontactus-message-button:hover {
    filter: brightness(1.05);
  }
}