.select-theme-box-header {
  margin: 30px;
  text-align: center;
}
.select-theme-box-header > div {
  padding: 10px 0;
}
.box-title{
  margin-top: 100px;
}
.box-title h3 {
  font-size: 24px;
  color: #888;
}
.box-content span{
  font-size: 16px;
}
.box-search {
  background-color: #fff;
  width: 500px;
  margin: 20px auto;
  border-radius: 5px;
  padding: 0 !important;
}
.box-search form {
  width: 100%;
  display: flex;
}
.box-search input[type="search"] {
  width: 80%;
  padding: 8px 10px;
  border: none;
  outline: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  margin: 0;
}
.box-search button {
  width: 20%;
  font-weight: 600;
  background-color: #ff6600;
  color: #fff;
  border: none;
  outline: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.kgd-select-theme {
  list-style: none;
  padding: 15px 0;
  margin: 0;
}

.kgd-select-theme li {
  display: inline-block;
  margin: 5px;
}

.kgd-select-theme a {
  display: inline-block;
  padding: 3px 5px;
  border: 1px solid #ff5f00;
  border-radius: 50px;
  color: #ff5f00;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  background-color: #fff;
}

.kgd-select-theme a:hover {
  background-color: #ff5f00;
  color: #fff;
}

.kgd-select-theme a.actived {
  background-color: #ff5f00;
  color: #fff;
  font-weight: 600;
}

.box-list-theme {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  padding: 20px 0;
}

.content-theme-item {
  width: calc(25% - 20px);
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
}
/* Phần ảnh */
.screen-shoot {
  max-width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.screen-shoot img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-transition: all 3s ease-in-out 0s;
  -moz-transition: all 3s ease-in-out 0s;
  -ms-transition: all 3s ease-in-out 0s;
  transition: all 3s ease-in-out 0s;
}

/* Khi hover vào content-theme-item thì ảnh trượt lên */
.content-theme-item:hover .screen-shoot img {
  transform: translateY(-50%);
}

/* Tiêu đề + giá */
.content-theme-item .title {
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px 5px;
  color: #002f75;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.content-theme-item .title .price {
  font-size: 13px;
  font-weight: 400;
  color: #ff6600;
  margin-top: 4px;
}

/* Vùng action */
.content-theme-item .action {
  padding: 8px 12px 12px;
  border-top: 1px solid #eee;
  background: #fafafa;
  text-align: center;
}

/* Các nút */
.theme-links a, .theme-links .demo, .theme-links .choose {
    display: inline-block;
    padding: 6px 12px;
    background: #ff6600;
    color: #fff;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
    width: 49%;
}

.theme-links a:hover, .theme-links .demo:hover {
  background: #005f8d;
}

.theme-links .choose {
  background: #28a745;
}

.theme-links .choose:hover {
  background: #1f8c39;
}
.pagination-wrap {
  text-align: center;
  margin-top: 30px;
  margin: auto;
}
.pagination {
  list-style: none;
  display: inline-flex;
  gap: 8px;
  padding: 0;
}
.pagination li a {
  padding: 8px 12px;
  background: #f2f2f2;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}
.pagination li.active a {
  background: #ff6600;
  color: #fff;
  font-weight: bold;
}
.form-email{
  width: 600px;
  margin: 15px auto;
  text-align: center;
}
.inner_dat_giao_dien {
  width: 100%;
}
.inner_dat_giao_dien h3, 
.inner_dat_giao_dien h4{
  text-align: center;
}
.inner_dat_giao_dien iframe {
  width: 80%;
  margin: 10px auto;
  display: flex;
  justify-content: center;

}
@media screen and (max-width: 768px) {
  .select-theme-box-header{
    margin: 0 !important;
  }
  .box-search{
    width: 100%;
  }
  .kgd-select-theme li{
    margin: 2px 5px;
  }
  .kgd-select-theme li a{
    font-size: 10px;
  }
  .box-list-theme{
    gap: 10px;
  }
  .content-theme-item{
    width: calc(50% - 10px);
    height: 380px;
  }
  .screen-shoot{
    height: 200px;
  }
.theme-links a, .theme-links .demo, .theme-links .choose{
    display: block !important;
    width: 100% !important;
    margin-bottom: 5px !important;
  }
  .pagination-wrap{
    font-size: 12px;
    margin-bottom: 10px;
  }
}