/************************* content format **/
.numberic-heading {
  position: relative;
  color: var(--bs-primary);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 20px;
  top: 15px;
  margin-bottom: 60px;
  z-index: 1;
}
.numberic-heading.elementor-element{
  display: flex;
  margin-bottom: 60px;
  top:0;
}
.numberic-heading.elementor-element .elementor-heading-title{
  font-size: 20px;
  font-weight: 700;
  margin-left: -20px;
}
.numberic-heading::before {
  content: attr(data-number);
  color: var(--bs-primary);
  background-color: yellow;
  font-size: 12px;
  padding: 5px;
  font-weight: 600;

  display: inline-block;
  margin-right: 60px;
}
.numberic-heading::after {
  content: attr(data-number);
  color: var(--bs-gray-200);
  font-size: 70px;
  font-weight: 900;
  position: absolute;
  left: 25px;
  top: -5px;
  line-height: 1em;
  z-index: -1;
}
section.content {
  padding: 15px;
}
.gray-section {
  background-color: var(--bs-gray-200);
}
.gray-section .numberic-heading::after {
  color: #fff;
}

.image-item {
  width: 140px;
  height: 169px;
}

.arrow-container {
  justify-content: center;
  display: flex;
  align-items: center;
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  font-size: 18px;
  color: white;
  text-transform: uppercase;
  position: relative;
  min-width: 200px;
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%);
}

.green {
  background-color: #55ad01;
}
.blue {
  background-color: #0153a5;
}
.orange {
  background-color: #ff7d01;
}

.dotted-line {
  border-top: 2px dashed gray;
  width: 100px;
  margin-right: -8px;
}

.image-logo {
  padding-right: 8px;
  width: 160px;
  height: 65px;
}

/*p {*/
/*  margin-top: 1rem;*/
/*  margin-bottom: 1rem;*/
/*}*/

.box-pr {
  margin-top: -30px;
}

.title-custom {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 20px;
  color: var(--bs-primary);
}

.text-custom {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 12px;
}
/* CSS cho trang chi tiết Hệ thống cửa hàng */
.store-single {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.store-title {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.store-meta p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.store-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* ............................ */

.store-list-container {
  gap: 20px;
  padding: 20px;
}

.store-all-list {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
}

.store-all-list ul {
  list-style: none;
  padding: 0;
}

.store-all-list li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  cursor: pointer;
  transition: background 0.3s;
}

.store-all-list li:hover {
  background: #e0e0e0;
}

.store-list-container .store-map {
  height: 1;
}

.store-list-container .store-map iframe {
  width: 100%;
  height: 500px;
  border-radius: 8px;
}

/* --------------------- */
.img-size {
  max-width: 80%;
  height: auto;
}

/* ======= GRID CONTAINER ======= */
.brand1-list {
  margin: 0 auto;
}
.brand1-list h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0056b3;
  text-transform: uppercase;
  border-left: 4px solid #0056b3;
  padding-left: 10px;
  margin-bottom: 15px;
}

/* ======= BRAND GRID (4 cột x 6 hàng) ======= */
.brand1-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cột ngang */
  grid-template-rows: repeat(6, auto); /* 6 hàng dọc */
  gap: 10px;
}

/* ======= BRAND ITEM ======= */
/* Tạo lưới cho các mục */
.brand1-item {
  position: relative; /* Để đặt tiêu đề vào vị trí tuyệt đối */
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Căn giữa tất cả các phần tử con */
  height: 179px; /* Điều chỉnh chiều cao cho các mục */
}

/* Hiệu ứng hover */
.brand1-item:hover {
  transform: translateY(-5px);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Căn giữa hình ảnh */
.brand1-item img {
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  display: block; /* Căn giữa hình ảnh */
  margin: 0 auto; /* Đảm bảo hình ảnh ở giữa */
}

/* Tiêu đề nằm ở góc trái dưới */
.brand1-item h3 {
  position: absolute;
  bottom: 10px; /* Cách đáy 10px */
  left: 10px; /* Cách trái 10px */
  margin: 0;
  font-size: 16px;
  color: #333;
  text-align: left; /* Căn trái cho tiêu đề */
  background-color: rgba(255, 255, 255, 0.7); /* Tạo nền nhẹ cho tiêu đề */
  padding: 5px;
  border-radius: 4px;
}

/* ======= BRAND ITEM ======= */
/* Các nút phân trang */
.pagination {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px;
}

/* Các số trang */
.pagination .page-numbers {
  background-color: var(--bs-gray-200);
  margin: 0 5px;
  font-size: 12px;
  min-width: 35px;
  padding: 5px 10px;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  color: black
}

/* Khi hover vào các số trang */
.pagination .page-numbers:hover {
  background-color: var(--bs-gray-300);
  color: black;
}

/* Trang hiện tại */
.pagination .page-numbers.current, .pagination .page-numbers.disabled  {
  border: 0;
  background-color: var(--bs-gray-500);
  color: black;
  cursor: not-allowed;
}


/* Dấu ba chấm (...) */
.pagination .more-pages {
  background: none;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 10px;
  padding: 0;
  margin-right: -5px;
}

/* Nút "Previous" và "Next" */
.pagination .page-prev-btn,
.pagination .page-next-btn {
  font-size: 14px;
  font-weight: bold;
  background-color: var(--font-background-color);
  border-radius: 50%;
  padding: 10px;
  display: inline-block;
}

.pagination .page-prev-btn:hover,
.pagination .page-next-btn:hover {
  background-color: var(--font-background-color);
  color: black;
}

/*---------------------------*/
.sidebar-brands-widget {
  background-color: #e2f8ff;
}

.sidebar-brands-widget-title {
  background: var(--bs-primary);
  color: white;
  padding: 8px;
}

/*------------------------------------*/
.name-title {
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  text-align: center; 
}

.name-title h3 {
  margin-top: 10px; /
}

.name-title img {
  max-width: 100%;
  height: auto; 
}
/*-----------CSS-Post----------*/
/* Chỉnh chữ của đoạn giới thiệu */
.content-post .gioi-thieu{
  font-weight: 500;
  font-size: 20px;
  line-height: 30.4px;
}

.content-post .ftwp-heading{
  font-weight: 500;
  font-size: 20px;
  line-height: 30.4px;
}

.content-post p{
  font-weight: 400;
  font-size: 16px;
  line-height: 24.32px;
}

.wp-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wp-caption-text {
  font-size: 16px;
  font-weight: 200; 
  line-height: 24.32px;
}

.content-post ul li{
  font-weight: 400;
  font-size: 16px;
  line-height: 24.32px;
}

.content-post table tbody tr th{
  font-weight: 500;
  font-size: 16px;
  line-height: 24.32px;
  text-transform: uppercase
}

.content-post table tbody tr td{
  font-weight: 400;
  font-size: 16px;
  line-height: 24.32px;
}

.wp-image-21761 {
  display: block;           /* Đặt ảnh thành phần tử block */
  margin: 0 auto;           /* Căn giữa ảnh */
  max-width: 100%;          /* Đảm bảo ảnh không vượt quá chiều rộng của phần tử chứa */
  height: auto;             /* Giữ tỉ lệ ảnh */
}

/*------------------------------------------*/
.info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #f4f4f4;
  border-radius: 10px;
  font-family: Arial, sans-serif;
}

.info-item {
  display: flex;
  align-items: center;
}

.info-item .icon {
  margin-right: 5px;
}

.font-settings {
  display: flex;
  align-items: center;
}

.font-settings button {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 5px;
  cursor: pointer;
  font-size: 18px;
}

.font-settings .font-size {
  margin: 0 10px;
  font-weight: bold;
}

.social-share .zalo-button {
  background-color: var(--bs-dark-blue);
  color: white;
  border: none;
  padding: 8px 15px;
  margin-left: 10px;
  border-radius: 5px;
  cursor: pointer;
}

.social-share .zalo-button:hover {
  background-color: var(--bs-linear-color2);
}

/*--------Service-------*/
.title-danvot {
  font-size: 24px;
  padding: 10px 0;
}
.danvot {
  font-size: 16px;
  display: block;
}
.note-danvot{
  font-size: 16px;
  font-style: italic;
}
.note-danvot-imp{
  font-size: 20px;
  font-weight: bold;
  padding: 10px 0;
}
/* Nút đăng ký */
.danvot-btn {
  background-color: var(--bs-dark-blue);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  width: fit-content;
  margin: 10px auto;
  text-align: center;
}

.danvot-btn:hover {
  background-color: var(--bs-linear-color2);
}

/* Form đăng ký */
.form-danvot {
  display: none;
  margin-top: 10px;
  padding: 15px;
  background: var(--bs-linear-color1);
  border: 1px solid #ddd;
  border-radius: 5px;
  max-width: 500px;
  position: relative;
}

/* Nút đóng */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
  color: var(--bs-dark-blue);
}




/*-------------Chính sách-------------*/
.policy-list {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.policy-item {
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.policy-item:last-child {
  border-bottom: none;
}
.policy-title {
  font-weight: bold;
  color: #333;
  font-size: 16px;
}
.policy-btn {
  padding: 5px 10px;
  background: var(--bs-dark-blue);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.policy-btn:hover {
  background: var(--bs-linear-color2);
}
/*----------Form-contact----------*/
.contact-title {
  font-size: 30px;
  text-transform: uppercase;
  text-align: center;
}

.contact-items {
  text-align: center;
}
.contact-items svg{
  fill: var(--bs-primary);
}

.contact-form1 {
  font-size: 20px;
}
.contact-form1 {
  font-size: 18px;
}

.img-contact {
  max-width: 500px;
  width: 100%;
}

.local-img-contact {
  display: flex;
  justify-content: center; 
  align-items: center;
}

.contact-form {
  background-color: var(--bs-gray-200);
}

.full-form-contact {
  padding: 15px;
}

.form-title {
  font-size: 30px;
}

.form-group, .form-single{
  font-size: 15px;
}

.form-field {
  width: 100%;
  height: 40px;
  padding-left: 15px;
  border: none;
  border-radius: 8px;
}

.form-message{
  width: 100%;
  padding-left: 15px;
  padding-top: 10px;
  border: none; 
  border-radius: 8px;
}

::placeholder {
  opacity: 0.7; /* Làm mờ nhẹ placeholder */
}


.submit {
  background-color: black;
  color: white;
  padding: 10px 0;
  border-radius: 8px;
  border: none;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.submit:hover {
  background-color: #555;
}

/*-----------Form-dang-ky-han-vot-----------*/

.form-hanvot-container {
  background-color: var(--bs-linear-color1);
  padding-bottom: 1px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3); 
}

.form-hanvot-header {
  background-color: var(--bs-primary);
  color: white;
  font-size: 18px;
  text-align: center;
  padding: 1px 0px;
}

.form-hanvot-container strong{
  font-size: 16px;
  color: var(--bs-primary); 
  display: block;
  padding: 0px 15px;
}

.form-hanvot-content {
  padding: 0px 15px;
  text-align: center;
}

.form-hanvot-content input, .form-hanvot-content textarea {
  width: 100%;
  padding: 0px 7px;
  border: 0px solid;
  border-radius: 5px;
  font-size: 16px;
}

.form-hanvot-content textarea {
  height: 80px;
}

.form-hanvot-content input::placeholder, 
.form-hanvot-content textarea::placeholder {
    color: var(--bs-linear-color1); 
    opacity: 1; 
}

.wpcf7-spinner {
  display: none !important;
}

.form-hanvot-content input[type="submit"] {
  background-color: var(--bs-orange);
  color: white;
  border: none;
  padding: 1px;
  border-radius: 15px;
  width: 100%;
}

.form-hanvot-content input[type="submit"]:hover {
  background-color: var(--bs-warning);
}

.form-hanvot-content p em {
    font-size: 12px;
    text-align: center;
    padding: 10px 0px;
}

/*-------------Nut-dang-ky-dan-vot-va-thu-mua-vot------------*/

.button-danvot-thumua {
  display: flex;
  justify-content: center; 
  align-items: center; 
  background-color: white;
  border: none;
  border-radius: 8px;
  margin: 5px 0px;
}

.block-danvot-thumua {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-danvot {
  display: flex;
  align-items: center; 
  justify-content: center; 
  color: var(--bs-primary);
  background-color: white;  
  font-size: 14px;
  border: none;
  padding: 10px 0px;
  cursor: pointer;
  gap: 5px;
}

.plus-circle {
  width: 16px; 
  height: 16px;
  background-color: var(--bs-primary); 
  color: var(--bs-light); 
  font-size: 14px; 
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}