/* ====================
  Reset Default CSS Start
  ==================== */

/* Gilroy Font */
@font-face {
  font-family: "Gilroy, sans-serif";
  src: url("../font/gilroy/Gilroy-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy, sans-serif";
  src: url("../font/gilroy/Gilroy-UltraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy, sans-serif";
  src: url("../font/gilroy/Gilroy-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy, sans-serif";
  src: url("../font/gilroy/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy, sans-serif";
  src: url("../font/gilroy/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy, sans-serif";
  src: url("../font/gilroy/Gilroy-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy, sans-serif";
  src: url("../font/gilroy/Gilroy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy, sans-serif";
  src: url("../font/gilroy/Gilroy-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Gilroy, sans-serif";
  src: url("../font/gilroy/Gilroy-Black.ttf") format("truetype");
  font-weight: 900;
}
/* Gilroy Font */

:root {
  --primary-font: "Gilroy, sans-serif";
  --primary-color: #09090b;
  --secondary-color: #e31736;
  --gardiant: linear-gradient(
    180deg,
    rgba(170, 170, 170, 0.1) 0%,
    #cfcfcf 100%
  );
  --accent: #929292;
  --accent-2: #e2e2e2;
  --white: #ffffff;
  --border-color: #929292;
  --border-color2: #424242;
  --border-color3: #cfcfcf;
  --text-color: #424242;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--primary-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

a {
  text-decoration: none !important;
}

ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

button {
  border: none;
  outline: none;
}

input {
  outline: none;
}

body {
  background: var(--white);
}

.container {
  padding: 0 18px !important;
}

/*====================
Reset Default CSS End
====================*/

/* Shopping Cart Start */

.shopping_cart {
  margin: 70px 0;
}

.shopping_cart .title {
  font-size: 48px;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 40px;
}

.shopping_cart .table {
  width: 100%;
}

.shopping_cart .table thead th {
  font-size: 18px;
  color: var(--primary-color);
  font-weight: bold;
}

.shopping_cart .table tbody .product_profile {
  width: 100%;
  display: flex;
}

.shopping_cart .table tbody td:nth-child(2),
.shopping_cart .table thead th:nth-child(2) {
  text-align: center !important;
}

.shopping_cart .table tbody td:nth-child(1),
.shopping_cart .table thead th:nth-child(1) {
  padding-left: 0px;
}

.shopping_cart .table tbody td,
.shopping_cart .table thead th {
  width: 350px !important;
}

.shopping_cart .table tbody td:nth-last-child(1),
.shopping_cart .table thead th:nth-last-child(1) {
  padding-right: 0px;
  text-align: right !important;
}

.shopping_cart .table tbody td {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  border-bottom: none !important;
}

.shopping_cart .table tbody tr,
.shopping_cart .table thead {
  border-bottom: 1px solid var(--accent-2) !important;
}

.shopping_cart .table tbody tr:nth-last-child(1) {
  border-bottom: none !important;
}

.shopping_cart .table .cart_img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: var(--gardiant);
  margin-right: 14px;
  overflow: hidden;
  background-size: cover;
  object-fit: cover;
  background-position: center;
}

.shopping_cart .table .cart_img_details {
  width: 70%;
}

.shopping_cart .table .cart_img img {
  width: 100%;
  height: 100%;
  background-size: cover;
  object-fit: cover;
  background-position: center;
}

.shopping_cart .table tbody .product_name {
  font-size: 22px;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 2px;
  max-width: 100%;
}

.shopping_cart .table tbody .product_type {
  font-size: 18px;
  color: var(--accent);
  font-weight: 500;
  margin: 0;
}

.shopping_cart .table .quantity_all {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.shopping_cart .quantity_control {
  display: block;
  margin: auto;
}

.shopping_cart .quantity_control .wrap {
  width: 90px;
  display: flex;
  align-items: center;
  border: 1px solid var(--accent-2);
  border-radius: 8px;
  padding: 4px 10px;
}

.shopping_cart .quantity_control input {
  width: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: 600 !important;
  color: var(--primary-color);
  font-size: 18px;
  border: none;
  outline: none;
}

.shopping_cart .quantity_control .increase-btn,
.shopping_cart .quantity_control .decrease-btn {
  width: 20px !important;
  height: 20px !important;
  padding: 0px !important;
  font-size: 26px !important;
  font-weight: 600;
  color: var(--text-color) !important;
  display: flex;
  justify-content: center;
  background: none !important;
  align-items: center;
  border: none !important;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.shopping_cart .quantity_control .decrease-btn,
.shopping_cart .quantity_control .increase-btn {
  color: var(--accent) !important;
}

.shopping_cart tbody tr .remove_btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  color: var(--primary-color);
  font-size: 16px;
  font-weight: bold;
  transition: 0.4s;
}

.shopping_cart tbody tr .remove_btn:hover {
  color: var(--secondary-color);
}

.shopping_cart tbody tr .remove_btn:hover svg path {
  fill: var(--secondary-color);
}

.shopping_cart tbody tr .remove_btn svg {
  width: 20px;
  height: 20px;
}

.shopping_cart tbody tr .remove_btn svg path {
  fill: var(--primary-color);
  transition: 0.4s;
}

.shopping_cart tbody tr .product_price h3 {
  font-size: 22px;
  color: var(--primary-color);
  font-weight: bold;
}

.shopping_cart .summary {
  border: 1px solid var(--accent-2);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.shopping_cart .summary .summary_item {
  font-size: 18px;
  font-weight: bold;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shopping_cart .summary .summary_item:nth-child(3) {
  font-size: 20px !important;
  color: var(--primary-color);
  border-top: 1px solid var(--accent-2);
  padding-top: 16px;
}

.shopping_cart .summary .summary_item .price1 {
  color: var(--primary-color);
}

.shopping_cart .summary .summary_item .grand_price {
  font-size: 22px !important;
  color: var(--primary-color);
}

.shopping_cart .summary .checkout_btn {
  width: 100%;
  font-size: 18px;
  color: var(--white);
  background: var(--secondary-color);
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  transition: 0.4s;
}

.shopping_cart .summary .checkout_btn:hover {
  background: var(--primary-color);
}

@media screen and (max-width: 992px) {
  .shopping_cart {
    margin: 50px 0;
  }

  .shopping_cart .title {
    font-size: 34px;
  }
}

@media screen and (max-width: 768px) {
  .shopping_cart .table_wrapper {
    overflow-x: auto;
  }

  .shopping_cart .table_wrapper::-webkit-scrollbar {
    height: 14px !important;
  }

  .shopping_cart .table tbody .product_profile {
    flex-direction: column;
    gap: 10px;
  }

  .shopping_cart .table tbody td,
  .shopping_cart .table thead th {
    max-width: 136px !important;
  }

  .shopping_cart .table .cart_img {
    width: 70px;
    max-height: 70px;
  }

  .shopping_cart .table tbody .product_name {
    display: block;
    display: -webkit-box;
    max-width: 100%;
    max-height: 65px !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .shopping_cart tbody tr .product_price h3,
  .shopping_cart .table tbody .product_name {
    font-size: 18px;
  }

  .shopping_cart tbody tr .remove_btn {
    font-size: 14px;
  }

  .shopping_cart tbody tr .remove_btn svg {
    width: 19px;
    height: 19px;
  }
}
/* Shopping Cart End */
