a:hover {
  opacity: 0.5;
}
.header_top {
  background: var(--main-color);
}
.header_main .row_flex {
  flex-wrap: nowrap;
}
.header_main {
  background: var(--second-color);
  position: relative;
  z-index: 2;
}
.header_logo {
  margin-right: auto;
  padding: 15px;
  font-weight: bold;
}
.header_logo a {
  font-size: 24px;
  color: var(--main-color);
  text-transform: uppercase;
  width: max-content;
  display: block;
}
.header_search {
  padding: 15px;
}
.header_nav {
  padding: 15px;
  display: block;
  width: auto;
}
.header_nav .title {
  margin-bottom: 5px;
}
.cart_icon {
  padding: 15px;
  position: relative;
}
.count_item_pr {
  position: absolute;
  top: 0;
  right: -5px;
  background: red;
  color: white;
  width: 24px;
  height: 24px;
  line-height: 24px;
  border-radius: 24px;
  font-size: 12px;
  text-align: center;
}
.footer-top .widget {
  width: 33.33%;
  display: block;
}
#banner_home {
  padding: 24px 0;
}
.home_banner.owl-carousel {
  border-radius: 24px;
  overflow: hidden;
}
.home_banner.owl-carousel .item {
  aspect-ratio: 1200 / 600;
}
.home_banner.owl-carousel .item img {
  width: 100%;
  aspect-ratio: 1200 / 600;
  object-fit: cover;
  border-radius: 24px;
}
.home_banner.owl-carousel .owl-nav {
}
.home_banner.owl-carousel .owl-nav button.owl-prev {
  left: 40px;
}
.home_banner.owl-carousel .owl-nav button.owl-next {
  right: 40px;
}
.home_banner.owl-carousel .owl-nav button.disabled {
}
.main_menu {
  background: var(--main-color);
  box-shadow: 0 2px 50px var(--main-color);
  position: relative;
}
.main_menu ul {
  padding: 0;
  margin: 0 auto;
  display: flex;
  border-left: 1px solid #aa3051;
  border-right: 1px solid #ff4451;
}
.main_menu ul > li {
  list-style: none;
}
.main_menu ul > li > a {
  color: white;
  display: block;
  line-height: 42px;
  font-size: 18px;
  text-transform: uppercase;
  padding: 0 16px;
  border-right: 1px solid #aa3051;
  border-left: 1px solid #ff4451;
}
.main_menu ul > li > a:hover {
  opacity: 0.5;
}
.main_menu ul > li > a > span {
}

.main_menu ul .sub-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 0;
  border-radius: 0 0 16px 16px;
  padding: 10px 20px;
}
.main_menu ul .menu-item-has-children:hover .sub-menu {
  display: flex;
}
.main_menu ul .sub-menu .menu-item {
}
.main_menu ul .sub-menu .menu-item a {
  color: var(--main-color);
  width: max-content;
  border: 0;
  font-size: 16px;
  padding: 0;
  text-transform: capitalize;
}

.page404-main {
}
.page404-main .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 680px);
}

.page404-main__hd {
  font-size: 44px;
  font-weight: bold;
}
.page404-main__link {
}

.btn {
  border-radius: 100px;
  transition: 0.3s ease all;
}
.btn-primary {
  background: var(--main-color);
  border-color: var(--main-color);
  color: white;
}
.btn-primary:hover {
  background: var(--third-color);
  border-color: var(--third-color);
}
.btn-secondary {
  background: var(--second-color);
  border-color: var(--second-color);
  color: white;
}
.btn-secondary:hover {
  background: var(--main-color);
  border-color: var(--main-color);
  color: white;
  opacity: 0.5;
}

.news_home .list_item .item a,
.news_home .big_item a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.button_call {
  height: auto;
}

.image-product img {
  width: 100%;
  height: 400px;
  object-fit: contain;
}

#footer,
body.home #footer,
body.single-product #footer {
  background: var(--dark-color);
  color: white;
}
#footer a {
  color: white;
}

/* Submenu Grid Layout for Products */
.main_menu .menu-item-has-children {
  position: relative;
}
.main_menu .menu-item-has-children .sub-menu.sub-menu-grid {
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  /* fr fr fr template */
  gap: 20px;
  padding: 20px;
  min-width: 600px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9;
  border: 0;
  border-radius: 0 0 16px 16px;
}
.main_menu .menu-item-has-children:hover .sub-menu.sub-menu-grid {
  display: grid;
}

.main_menu .sub-menu.sub-menu-grid .grid-item {
  display: flex;
  flex-direction: column;
}

.main_menu .sub-menu.sub-menu-grid .grid-item .level1-link {
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 1px solid #eee;
  width: max-content;
  border: 0;
  padding: 0;
  color: var(--main-color);
  font-size: 16px;
}

.main_menu .sub-menu.sub-menu-grid .grid-item .level2-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  gap: 12px;
}

.main_menu .sub-menu.sub-menu-grid .grid-item .level2-menu li {
}

.main_menu .sub-menu.sub-menu-grid .grid-item .level2-menu li a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
  text-transform: capitalize;
  border: 0;
  width: max-content;
  padding: 0;
  font-size: 16px;
  line-height: 1;
}

.main_menu .sub-menu.sub-menu-grid .grid-item .level2-menu li a:hover {
  color: #000;
}

.breadcrumbs {
  padding: 16px 0;
  margin-bottom: 16px;
}

.news-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px 0;
}
.news-list:before,
.news-list:after {
  display: none;
}
.news-list .col-md-4.news-item {
  width: auto;
}
.news-list .news-item .post {
}
.news-list .news-item .post .news-thumbnail {
  margin-bottom: 8px;
}
.news-list .news-item .post .news-thumbnail a {
}
.news-list .news-item .post .news-thumbnail a img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.news-list .news-item .post .news-content {
}
.news-list .news-item .post .news-content .news-title {
  line-height: 1;
  font-weight: bold;
  font-size: 18px;
}
.news-list .news-item .post .news-content .news-title a {
}
.news-list .news-item .post .news-content .news-meta {
}
.news-list .news-item .post .news-content .news-meta .news-date {
}
.news-list .news-item .post .news-content .news-excerpt {
}
.news-list .news-item .post .news-content .news-excerpt p {
}
.news-list .news-item .post .news-content .read-more {
}

.cart-page {
  padding: 0 0 40px 0;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.cart-table th,
.cart-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.cart-table th {
  background-color: #f8f9fa;
  font-weight: bold;
}
.cart-item-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}
.cart-item-title {
  font-weight: 600;
  margin-bottom: 5px;
}
.cart-item-title a {
  color: #333;
  text-decoration: none;
}
.cart-item-title a:hover {
  color: #007bff;
}
.quantity-input {
  height: 32px;
  width: 60px;
  padding: 5px;
  text-align: center;
  border: 1px solid #bbb !important;
  border-radius: 100px;
  margin-bottom: 0 !important;
}
.remove-item-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 5px 15px;
  border-radius: 3px;
  cursor: pointer;
}
.remove-item-btn:hover {
  background: #c82333;
}
.cart-summary {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 16px;
  margin-top: 30px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
.cart-summary-row:last-child {
  border-bottom: none;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 10px;
  padding-top: 15px;
}
.cart-actions {
  margin-top: 20px;
  display: flex;
  gap: 8px;
}
.btn-checkout {
  background: #28a745;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-checkout:hover {
  background: #218838;
}
.btn-clear-cart {
  background: #6c757d;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-left: 10px;
}
.btn-clear-cart:hover {
  background: #5a6268;
}
.empty-cart {
  text-align: center;
  padding: 60px 20px;
}
.empty-cart-icon {
  font-size: 64px;
  color: #ddd;
  margin-bottom: 20px;
}
.empty-cart-message {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}
.btn-continue-shopping {
  background: #007bff;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-continue-shopping:hover {
  background: #0056b3;
}

.header_main {
  padding: 0;
}
.text-right {
  text-align: right !important;
}

.grecaptcha-badge {
  display: none;
}

.checkout-page {
  padding: 0 0 40px 0;
}
.checkout-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}
.checkout-form-section,
.checkout-summary-section {
  background: #fff;
  padding: 25px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}
.form-group label .required {
  color: #d32f2f;
  margin-left: 3px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
}
.checkout-summary {
  position: sticky;
  top: 20px;
}
.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.summary-item:last-child {
  border-bottom: none;
}
.summary-item-name {
  flex: 1;
  margin-right: 10px;
}
.summary-item-quantity {
  color: #666;
  margin: 0 10px;
}
.summary-item-price {
  font-weight: 600;
  min-width: 120px;
  text-align: right;
}
.summary-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #ddd;
  font-size: 1.2em;
  font-weight: bold;
}
/* .btn-submit-order {
  width: 100%;
  padding: 15px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}
.btn-submit-order:hover {
  background: #218838;
} */
.btn-submit-order:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.empty-cart-message {
  text-align: center;
  padding: 40px;
  color: #666;
}

@media (max-width: 768px) {
  .cart-table {
    font-size: 14px;
  }
  .cart-table th,
  .cart-table td {
    padding: 10px 5px;
  }
  .cart-item-image {
    width: 60px;
    height: 60px;
  }
  .cart-table th:nth-child(2),
  .cart-table td:nth-child(2),
  .cart-table th:nth-child(5),
  .cart-table td:nth-child(5) {
    display: none;
  }
  .main_menu {
    display: none;
  }
  .supports_ft {
    justify-content: space-between;
  }
  footer {
    padding-bottom: 40px;
  }
  .f-widget {
    display: flex;
    flex-direction: column;
  }
  .footer-top .widget {
    width: auto;
  }
  #custom_html-5 {
    display: none;
  }
  .socials_ft {
    margin-top: 16px;
  }
  .footer-bot {
    margin-top: 24px;
  }
  .checkout-form-section,
  .checkout-summary-section {
    padding-right: 0;
    padding-left: 0;
  }
  .checkout-container {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
  }
}
