html {
  overflow-x: hidden;
  background-color: black;
}

/* minicart */

.checkout-cart-index .minicart-items a.product-item-photo {
  width: 75px;
}

.minicart-items a.action.edit {
  display: none !important;
}

.minicart-items input.item-qty.cart-item-qty {
  display: none;
}

.minicart-items .product-item-pricing .label {
  display: none;
}

/* header page */

.ammenu-item.category-item a.ammenu-link {
  padding: 5px 1rem !important;
}

.ammenu-text-block span.ammenu-text {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* pdp page */

.swatch-attribute.preferred_dealership {
  margin-bottom: 4rem;
}

/* search page */

.mgs-instant-search-type-page .breadcrumbs {
  display: none;
}

.mgs-instant-search-type-page a:visited {
  color: #000000;
}

.mgs-instant-search-type-page a:visited:hover {
  color: #ed1c24;
}

.page-products button.action.tocart.primary {
  background-color: #000000;
  border-radius: 5rem;
  transition: 0.5s;
  border: 1px solid #000000;
}

.page-products .breadcrumbs {
  display: none;
}

.page-products button.action.tocart.primary:hover {
  background-color: #ed1c24;
  border: 1px solid #ed1c24;
}

/* My account */

.customer-blog-posts button.action.submit.primary {
  background-color: black;
  border: 1px solid black;
  border-radius: 5rem;
  padding: 7px 15px;
  font-size: 14px;
  transition: 0.5s;
}

.customer-blog-posts button.action.submit.primary:hover {
  background-color: #ed1c24;
  border: 1px solid #ed1c24;
}

.customer-blog-posts button.action.save.primary {
  border-radius: 4rem;
}

/* checkout cart style */

.checkout-cart-index .page-main {
  padding: 0 !important;
  display: flex;
  justify-content: center;
}

.checkout-cart-index .page-title-wrapper {
  display: none;
}

.checkout-cart-index .cart.table-wrapper .cart > .item {
  border-bottom: none;
}

.checkout-cart-index td.col.qty {
  display: none;
}

.checkout-cart-index .cart-container .form-cart {
  width: 60%;
  padding: 0;
  border-right: 1px solid #f5f1ee;
}

.cart.table-wrapper .cart thead tr th.col {
  border-bottom: 1px solid #f5f1ee !important;
}

.checkout-cart-index .cart-container .cart-summary {
  width: 40%;
  background: white;
  margin-top: 10rem;
}

.checkout-cart-index .cart-container .form-cart .actions.main {
  text-align: center;
  padding: 2rem;
}

.checkout-cart-index
  .cart-container
  .form-cart
  .actions.main
  button.action.update {
  width: 100%;
  border-radius: 5rem;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 1rem;
  transition-duration: 0.5s;
}

.checkout-cart-index
  .cart-container
  .form-cart
  .actions.main
  button.action.update:hover {
  color: white;
  background: #ed1c24;
}

.checkout-cart-index .cart.table-wrapper .item .col.item {
  padding-left: 2rem;
}

.checkout-cart-index th.col.item {
  color: #000000;
  padding: 1rem 2rem;
}

.checkout-cart-index .cart-header h1 {
  margin: 0;
  padding: 1rem 2rem;
  font-family: "conthrax";
  font-size: 24px;
  color: #000000;
}

.checkout-cart-index .item .actions-toolbar a.action.action-edit {
  display: none;
}

.checkout-cart-index strong.product-item-name a {
  font-size: 15px;
  font-weight: 700;
  color: #000;
  width: 100%;
  display: flex;
}

.checkout-cart-index .cart-price span.price {
  font-size: 13px;
  font-weight: 600 !important;
  color: #000;
}

.checkout-cart-index tr.item-actions {
  display: none;
}

.checkout-cart-index
  .actions-toolbar
  a.use-ajax.action.towishlist.action-towishlist {
  display: none;
}

.cart.table-wrapper .actions-toolbar > .action-delete:before {
  content: "\2715";
  margin: 4px;
  font-size: 12px;
  font-weight: 700;
}

.checkout-cart-index a.action.action-delete {
  right: -20px !important;
}

.checkout-cart-index span.product-image-container {
  width: 200px !important;
  justify-content: center;
}

.checkout-cart-index div#block-shipping {
  display: none;
}

.checkout-cart-index strong.summary.title {
  display: none;
}

.checkout-cart-index div#cart-totals {
  border-top: none;
}

.checkout-cart-index tr.totals.shipping.excl {
  display: none;
}

.checkout-cart-index th.mark {
  border-top: none !important;
  font-size: 15px;
  font-weight: 600;
}

.checkout-cart-index .totals.sub td.amount {
  border-top: none !important;
  font-size: 15px;
  font-weight: 600;
}

.checkout-cart-index td.amount {
  border-top: none !important;
}

.checkout-cart-index a.action.multicheckout {
  display: none;
}

.checkout-cart-index .grand.totals .mark strong,
.checkout-cart-index .grand.totals td.amount strong {
  font-size: 20px;
  font-weight: 800;
}

.checkout-cart-index button.action.checkout {
  width: 100%;
  border-radius: 5rem;
  padding: 1rem 1rem;
  background: black;
  color: white;
  transition-duration: 0.5s;
}

.checkout-cart-index button.action.checkout:hover {
  background: #ed1c24;
  color: white;
}

.checkout-cart-index label.cart-require-checkbox {
  font-size: 10px;
  font-weight: 700;
  text-align: justify;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0rem 0rem 2rem 0rem;
  cursor: pointer;
}

.checkout-cart-index ul.checkout.methods.items.checkout-methods-items {
  margin: 0;
}

.checkout-cart-index .mobile-cart-price {
  display: none;
}

.checkout-cart-index .product-status {
  font-size: small;
  font-weight: 600;
  font-family: "Conthrax";
  color: #7b7b7b;
}

.checkout-cart-index dl.item-options {
  font-size: 11px;
  font-weight: 600;
  color: #000000;
}

.checkout-cart-index .cart.table-wrapper {
  overflow: hidden;
  display: block;
  border-top: none;
}

/* product page style */
.catalog-product-view .action.primary.learn-more-btn {
  background: black;
  color: white;
  border: 1px solid white;
  border-radius: 4rem;
  width: 30%;
}

.catalog-product-view .action.primary.learn-more-btn:hover {
  background: #ed1c24;
  border: 1px solid #ed1c24;
}

.catalog-product-view button#product-addtocart-button:hover {
  background: #ed1c24;
  border: 1px solid #ed1c24;
  color: white;
}

/* checkout page style */

.checkout-index-index .opc-block-summary .items-in-cart .product {
  display: flex;
  gap: 4rem;
}

.checkout-index-index
  .opc-block-summary
  .minicart-items
  .product-image-container {
  margin-left: 0;
  height: 50% !important;
  width: 50% !important;
}

.checkout-index-index
  .opc-block-summary
  .minicart-items
  .product-image-container
  img {
  width: 100%;
}

.checkout-index-index .opc-block-summary .minicart-items .product-item-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.checkout-index-index .actions-toolbar {
  display: flex;
  justify-content: center;
}

.checkout-index-index .actions-toolbar button.action.primary.checkout.amasty {
  width: 100%;
  background: black;
  border-radius: 5rem;
  transition: 0.5s;
}

.checkout-index-index
  .actions-toolbar
  button.action.primary.checkout.amasty:hover {
  background: #ed1c24;
  border: 1px solid #ed1c24;
}

/* wishlist page */

.wishlist-index-index .products-grid.wishlist .product-items .product-item {
  border: 1px solid lightgray;
  padding: 1rem;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

.wishlist-index-index .products-grid.wishlist strong.product-item-name {
  font-size: 16px;
  font-weight: 600;
}

.wishlist-index-index
  .product-item-actions
  .actions-primary
  button.action.tocart.primary {
  background: black;
  border-radius: 4rem;
  width: 100%;
  transition: 0.5s;
}

.wishlist-index-index
  .product-item-actions
  .actions-primary
  button.action.tocart.primary:hover {
  background: #ed1c24;
  border: 1px solid #ed1c24;
}

.wishlist-index-index .product-item-actions .actions-primary {
  width: 100%;
}

.wishlist-index-index .product-item-actions {
  width: 100%;
}

.wishlist-index-index .products-grid.wishlist .product-item-actions {
  display: flex;
  justify-content: flex-end;
}

.wishlist-index-index .actions-toolbar .primary button {
  background: #000000;
  border-color: #000000;
  border-radius: 4rem;
  transition: 0.5s;
  color: white;
}

.wishlist-index-index .actions-toolbar .primary button:hover {
  background: #ed1c24;
  border: 1px solid #ed1c24;
}

/* about BYD page */
.cms-about-byd .breadcrumbs {
  display: none;
}

/* mobile version */
@media only screen and (max-width: 768px) {
  /* wishlist page */
  .wishlist-index-index .products-grid.wishlist .product-item .box-tocart {
    margin: 0;
    width: 100%;
  }

  .wishlist-index-index .products-grid.wishlist .product-item-photo {
    width: 15rem;
    height: 13rem;
    display: flex;
    justify-content: center;
  }

  .wishlist-index-index .products-grid.wishlist .product-image-container {
    max-width: 100%;
  }

  .wishlist-index-index span.product-image-wrapper {
    padding-bottom: 0 !important;
    height: 100%;
  }

  .wishlist-index-index img.product-image-photo {
    width: 100%;
    height: 100%;
  }

  /* product page style */
  .catalog-product-view .action.primary.learn-more-btn {
    width: 100%;
  }

  .cart-container {
    display: flex;
    flex-direction: column-reverse;
    margin: 3rem 0rem;
  }

  .checkout-cart-index .cart-container .cart-summary {
    width: 100%;
    margin-top: 1rem;
  }

  .checkout-cart-index .cart-container .form-cart {
    width: 100%;
    border-right: none;
    margin-bottom: 0;
  }

  .checkout-cart-index .cart.table-wrapper tbody > tr > td:last-child {
    width: auto;
  }

  .checkout-cart-index tr.item-info {
    display: grid;
    grid-template-columns: 12fr 4fr 1fr;
  }

  .checkout-cart-index .cart.table-wrapper .product-item-photo {
    position: static;
    max-width: 16rem;
  }

  .checkout-cart-index .cart.table-wrapper .item .col.item {
    padding-left: 2rem;
    display: flex;
    gap: 2rem;
  }

  .checkout-cart-index .cart.table-wrapper .product-item-name {
    font-size: 10px;
  }

  .checkout-cart-index dl.item-options {
    display: none;
  }

  .checkout-cart-index td.col.price {
    display: none !important;
  }

  .checkout-cart-index .product-item-details {
    display: flex;
    align-items: end;
  }

  .checkout-cart-index .cart.table-wrapper thead th.col.item {
    display: block;
    border-bottom: 1px solid #f5f1ee;
  }

  .checkout-cart-index .mobile-cart-price {
    margin-top: 2rem;
    display: block;
    font-size: 1rem;
  }

  .checkout-cart-index label.cart-require-checkbox {
    font-size: 9px;
    align-items: flex-start;
  }
}
/* only desktop version */
@media only screen and (min-width: 769px) {
  /* searvh result page */
  .mgs-instant-search-type-page ol.pages.list.items.page-items {
    display: flex !important;
    flex-direction: column;
  }

  /* top header */
  a.scroll-to-top {
    display: none;
  }

  li.greet.welcome {
    display: none !important;
  }

  .header.links li.nav.item {
    display: none !important;
  }

  .header.panel > .header.links > .authorization-link:after {
    content: "" !important;
  }

  .block-search .action.search:before {
    color: white !important;
  }

  #search_mini_form .mgs-instant-search-dropdown {
    right: 0px !important;
    left: 0px !important;
    top: 32px !important;
  }

  #search_mini_form
    .mgs-instant-search-dropdown
    .mgs-instant-autocomplete-wrapper
    .title {
    background-color: black !important;
  }

  #search_mini_form
    .mgs-instant-search-dropdown
    .mgs-instant-autocomplete-wrapper
    .title
    > span {
    color: white !important;
  }

  #search_mini_form
    .mgs-instant-search-dropdown
    .mgs-instant-autocomplete-wrapper
    .title
    .see-all {
    color: white;
  }

  #search_mini_form
    .mgs-instant-search-dropdown
    .mgs-instant-autocomplete-wrapper {
    border: 1px black solid;
  }

  ul.page-cms-items {
    padding: 1rem 2rem;
    margin: 0;
  }

  .page-cms-items a.page-item-link {
    color: black;
  }
}
