.main-content {
  background-color: #f3f6f7;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Search CSS */
.search-container {
  display: flex;
}
.search-section {
    text-align: center;
    margin: 20px 0;
}
input.search-box:focus-visible{
  outline: none;
}
/* end search */

/* barnd css */
.brand-section, .type-section, .tab-section, .area-section {
    margin-bottom: 20px;
    /*padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}
.brand-content {
   background-color: #fff;
   padding: 20px 10px;
}
h2.section-title {
    text-align: center;
}
.brand-list {
    display: grid;
    grid-template-columns: repeat(9, 1fr); /* 9 cột cho hàng đầu tiên */
    gap: 10px;
    margin-bottom: 20px; /* Khoảng cách giữa các hàng */
}
.brand-item {
    text-align: center;
    border-radius: 5px;
    border: 1px solid #c8c8c8;
    padding: 10px;
}
.brand-item p {
    margin: 0;
    font-size: 9px;
    height: 20px;
    color: #4e4e4e;
}
.brand-item img {
    width: 74%;
}

.brand-list:nth-of-type(2) {
    grid-template-columns: repeat(8, 1fr); /* 8 cột cho hàng thứ hai */
}
.brand-item:hover {
    border: 1px solid #ea5413;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
/* end brand */

/* type car css */
.type-content {
     background-color: #fff;
     padding: 20px 10px;
}
.type-list {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* 9 cột cho hàng đầu tiên */
    gap: 6px;
    margin-bottom: 20px; /* Khoảng cách giữa các hàng */
}
.type-item {
    text-align: center;
    border-radius: 5px;
    border: 1px solid #c8c8c8;
    padding: 10px 5px;
}
.type-item:hover {
    border: 1px solid #ea5413;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.type-item p {
    margin: 0;
    font-size: 9px;
    height: 14px;
    color: #4e4e4e;
}
.type-item img {
    width: 74%;
}
/* end type */

/* Container for the tabs */
.tab-container {
    width: 100%;
    margin: 0 auto;
}


/* Style for the tab buttons */
.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}
.tab-content-one {
    background-color: #fff;
    padding: 20px 10px;
}

.tab-button.active {
    background-color: #ea5413;
    color: white;
    font-weight: bold;
}
.tab-button:hover {
    background-color: #ea5413;
}

/* Hide all the tab contents initially */
.tab-content {
    display: none;
}

/* Style for the active tab content */
.active {
    display: block;
}
.tab-content-list {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 9 cột cho hàng đầu tiên */
    gap: 10px;
    margin-bottom: 20px; /* Khoảng cách giữa các hàng */
}

/* area css */
.area-content {
  background-color: #fff;
    padding: 20px 10px;
}
/* end */

/* car ranking css */
.ranking-section {
  background-color: #fff;
  padding: 20px 10px;
}
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 9 cột cho hàng đầu tiên */
  gap: 10px;
  margin-bottom: 20px; /* Khoảng cách giữa các hàng */
}
.ranking-item p {
    font-size: 13px;
    padding: 0 5px;
}
.ranking-item h4 {
    font-size: 14px;
    padding: 0 5px;
    margin: 10px 0 0;
}
.ranking-item {
    text-align: left;
    border: 1px solid #dadada;
}
.ranking-item:hover {
    border: 1px solid #ea5413;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ranking-item img {
    width: 100%;
}
/* end */

/* ninki css */
.ninki-grid-one {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /*grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);*/
    gap: 10px;
    margin-bottom: 10px;
}
.ninki-grid-two {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 8 cột cho hàng thứ hai */
    gap: 10px;
}

.ninki-grid-item {
    background-color: #d3d3d3;
    border: 1px solid #ccc;
}
.ninki-grid-item:hover {
    border: 1px solid #ea5413;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
section.ninki-section {
    background-color: #fff;
    padding: 10px 0;
}



section.ranking-two-section {
    background-color: #fff;
    padding-bottom: 30px;
}
.ranking-two-content {
    padding: 20px 0;
}
.ranking-two-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.ranking-two-item {
    text-align: center;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    padding: 40px 20px;
}
.ranking-two-item:hover {
    border: 1px solid #ea5413;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ranking-two-item img {
    width: 60%;
}

.footer-content p {
    color: #fff;
}


.result-table {
    width: 100%;
    border-collapse: collapse;
}

.result-table th, .result-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.result-table th {
    background-color: #f9f9f9;
    text-align: left;
}



.slider-container {
  width: 100%;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}






.footer-main {
  height: 300px;
  background-color: #000;
  padding: 20px 0;
}




/* Product List Page Css */
.product-list-content{
    background-color: #f3f6f7;
    padding: 60px 0;
}



.form-container {
    max-width: 100%;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px 20px;
}

.form-title {
    color: #ff6600;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    margin-top: 0;
}

/*.filter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}*/
.form-line {
    display: flex;
}

/*.form-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}*/

.filter-form label {
    font-size: 14px;
    width: 25%;
    font-weight: 600;
}

.filter-form input[type="text"] {
    width: 120px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 75%;
}
.input-gr {
    width: 75%;
    display: flex;
}

.input-gr span {
    padding: 0 10px;
    font-weight: 600;
    font-size: 14px;
}

.more-details {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 600;
}

section.product-list-detail {
    margin-top: 70px;
}
.product-info-item {
    background-color: #fff;
    padding: 10px 20px;
    margin: 20px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-quantity-info p span {
    font-size: 14px;
}
.product-quantity-info p {
    margin: 0;
    color: #ea5513;
    font-size: 20px;
    font-weight: 600;
}
.wp-pagenavi span {
    background-color: #fff;
    color: #333;
    padding: 7px 8px;
    border-radius: 0;
    font-size: 80%;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
}
.wp-pagenavi a {
    background-color: #e5e5e5;
    color: #333;
    padding: 7px 8px;
    border-radius: 0;
    font-size: 80%;
    text-decoration: none;
    border-radius: 3px;
    font-weight: 600;
}
.wp-pagenavi span.current {
    background-color: rgb(234 85 19);
    color: #fff;
}
.product-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-image .main-image,
.product-image .thumbnail {
    background: #e0e0e0;
    border-radius: 3px;
}

.product-image .thumbnails {
    display: flex;
    gap: 10px;
}

.product-details {
    flex: 2;
}

.product-details h1 {
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 0;
}

.product-details .price-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.product-details .price-section .box {
    flex: 1;
    padding: 0px;
    background: #ffffff;
    border: 1px solid #dadada;
}

.product-details .price-section .box span {
    text-align: left;
    background-color: #ea5513;
    color: #fff;
    font-weight: 600;
}

.product-details .price-section .box p {
    text-align: center;
    margin: 5px 0;
    font-weight: 600;
}
p.sai-price {
    color: #716d6d;
}
p.last-price {
    color: #e90000;
}

/*.product-details .attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-details .attributes button {
    padding: 10px;
    background: #e0e0e0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}*/

.product-details .action-cta {
    margin-top: 20px;
    text-align: right;
    width: 40%;
}

.product-details .action-cta button {
    padding: 16px 16px;
    background: #ea5513;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 25%);
    transition: 0.3s;
}
.product-details .action-cta button:hover {
    background-color: #aeabab;
}

.product-details .cta button:hover {
    background: #ff6347;
}
.attributes {
    display: flex;
    gap: 10px;
}
.attributes-one {
    width: 50%;
}
.attributes-item {
    display: flex;
    gap: 15px;
}
.attributes-one .attributes-item::last-child {
    margin-bottom: 0;
}
.attributes-title {
    background-color: #c9c9c9;
    text-align: center;
    font-size: 13px;
    padding: 3px 0;
    font-weight: 500;
    border-radius: 2px;
}
.attributes-dt {
    font-size: 14px;
}
.attributes-two {
    width: 50%;
}
.product-paganition-info.shita-paganition {
    margin-top: 20px;
    background-color: #fff;
    padding: 15px;
    text-align: center;
}
section.body-relation {
    margin-bottom: 60px;
}
.body-relation-content h2 {
    margin: 20px 0 20px;
    padding: 6px 0;
    border-bottom: 2px solid #ea5513;
    font-size: 20px;
}
.body-relation-item {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    background-color: #f3f6f7;
    padding: 20px;
}
.body-relation-item a {
    background-color: #fff;
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    text-decoration: none;
    color: #000;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #fff;
}
.body-relation-item a:hover {
    border: 1px solid #ea5513;
}






/* Product Detail Page Css */

.product-main-image {
    width: 100%;
    /*background-color: #ccc;*/
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    margin-bottom: 6px;
    height: 390px;
    transition: background-image 0.5s ease-in-out;
}

.product-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 5px;
}

.product-thumbnail {
    /*background-color: #ccc;*/
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.5s ease;
    background-size: cover;
}

.product-thumbnail:hover {
    transform: scale(1.1);
}
main.product-detail-content {
    background-color: #f3f6f7;
    padding: 60px 0;
}
.product-detail-title h2 {
    margin: 0 0 20px;
    line-height: 27px;
    border-bottom: 1px solid #ea5513;
    font-size: 18px;
    padding-bottom: 5px;
}
.main-price-pr {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-price-pr span {
    font-weight: 700;
    font-size: 20px;
    color: #ea5513;
}
.main-price-pr strong {
    font-size: 22px;
}
.main-price-pr p {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    color: #ea5513;
}
.memo-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.memo-price-item strong {
    font-size: 22px;
}
.memo-price-item p {
    margin: 0;
    font-size: 34px;
    font-weight: 600;
}
.memo-price-item span {
    font-weight: 600;
}
.attributes-pr-dt {
    width: 100%;
    display: flex;
    gap: 10px;
    margin-top: 30px;
}
.attributes-title-pr-dt {
    width: 45%;
    background-color: #c9c9c9;
    text-align: center;
    font-size: 13px;
    padding: 3px 0;
    font-weight: 500;
    border-radius: 2px;
}
.attributes-dt-pr-dt {
    width: 55%;
    font-size: 14px;
}
.add-cart-btn button {
    background-color: #ea5513;
    border: 1px solid #ea5513;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
    width: 100%;
    padding: 18px 0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgb(123 123 123 / 79%);
}
.add-cart-btn {
    margin-top: 30px;
    width: 100%;
}
div#product-mainImage img {
    width: 100%;
    height: 100%;
}
.product-thumbnail img {
    width: 100%;
    height: 100%;
}
section.product-table-shita{
    margin-top: 60px;
}
.product-table-one tr th {
    border: 1px solid #d4d4d4;
    padding: 10px;
    background-color: #fff;
}
.product-table-one tr td {
    border: 1px solid #d4d4d4;
    padding: 10px;
    background-color: #fff;
}
.product-table-one table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}
.product-table-one h2 {
    margin: 0 0 10px;
}
.product-table-two table tr th {
    background-color: #e2e2e2;
    border-bottom: 1px solid #b2b2b2;
    padding: 10px;
}
.product-table-two table tr td {
    background-color: #fff;
    border-bottom: 1px solid #dcdcdc;
    padding: 10px;
}
.product-table-two table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
section.product-table-shita h2 {
    font-size: 20px;
}
h2.spectial-title {
    background-color: #fff;
    padding: 10px;
    border-left: 8px solid #ea5513;
}
.product-table-two {
    margin-top: 30px;
}


.spectial-grid-one {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px; /* Khoảng cách giữa các ô */
    width: 100%;
    margin-bottom: 10px;
}
.spectial-grid-two {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; /* Khoảng cách giữa các ô */
    width: 100%;
    margin-bottom: 10px;
}
.spectial-grid-three {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px; /* Khoảng cách giữa các ô */
    width: 100%;
    margin-bottom: 10px;
}
.spectial-grid-four {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; /* Khoảng cách giữa các ô */
    width: 100%;
    margin-bottom: 10px;
}
.spectial-grid-five {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px; /* Khoảng cách giữa các ô */
    width: 100%;
    margin-bottom: 10px;
}
.spectial-grid-six {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; /* Khoảng cách giữa các ô */
    width: 100%;
}

.spectial-grid-item {
    padding: 8px 15px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #ccc;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Hiệu ứng bóng nhẹ */
    color: #000;
    text-decoration: none;
}

.highlighted {
    background-color: #ff6600; /* Màu nền cam */
    color: #fff; /* Chữ màu trắng */
    font-weight: bold;
    border: none; /* Loại bỏ viền */
}
.row-spectial-content {
    margin-top: 30px;
}