body {
  font-family: Arial, sans-serif;
  padding: 20px;
  background-color: #f8f9fa;
}

h1 {
  text-align: center;
}

:root {
  --primary-color-one: #0b9444;
  --primary-color-two: hsl(159, 69%, 38%);
  --rose-variant-one: hsl(20, 50%, 98%);
  --rose-variant-two: hsl(13, 31%, 94%);
  --rose-variant-three: hsl(14, 25%, 72%);
  --rose-variant-four: hsl(7, 20%, 60%);
  --rose-variant-five: hsl(12, 20%, 44%);
  --rose-variant-six: hsl(14, 65%, 9%);
  --font-weight-regular: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-size-product-names: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100vw;
}

body {
  font-family: "Red Hat Text", sans-serif;
  background-color: #f8f9fa;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  cursor: default;
  overflow-x: hidden;
}

.clsProducts-container {
  margin: 0px 0px;
  padding: 80px 0px;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 20px;
  align-items: flex-start;
}

.clsProductListings {
  width: 100%;
}

.clsCart {
  width: 96%;
  height: max-content;
}

.clsProductCategory {
  display: flex;
  gap: 10px;
}

.empty_body {
  text-align: center;
  padding: 50px 0;
  width: 160%;
}

@media (max-width: 992px) {
  .clsProductCategory {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .clsProducts-container {
    display: flex;
    flex-direction: column;
  }

  .clsProductListings,
  .clsCart {
    width: 100% !important;
  }

  .clsCart {
    margin-top: 30px;
  }
  .empty_body {
    text-align: center;
    padding: 50px 0;
    width: 100%;
  }
}

.clsThumbnail-slider {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: center;
}

.clsThumbnail-slider img.clsThumb {
  width: 50px;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
}

.clsThumbnail-slider img.clsThumb:hover {
  border-color: #888;
}

.clsPriceBar {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: 10px;
  gap: 20px;
}

.clsProductListings-mobile-header {
  display: none;
  padding: 30px;
}

.clsMiniCart {
  position: relative;
}

.clsMiniCart-icon {
  fill: #0f0f0f;
}

.clsMiniCart-value {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: var(--primary-color-one);
  border-radius: 50%;
  height: 20px;
  width: 20px;
  padding: 15px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.clsProducts {
  display: flex;
  flex-direction: column;
  justify-items: stretch;
  row-gap: 40px;
  justify-content: space-between;
}

.clsProductCards {
  display: flex;
  flex-direction: row;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid #e2e5e358;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 0px 5px 0px #bebbbb;
}

.clsProductCardImg {
  width: 35%;
}

.clsProductCardDesc {
  width: 65%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .clsProductCards {
    flex-direction: column;
  }

  .clsProductCardImg {
    width: 100%;
  }

  .clsProductCardDesc {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

.clsProductImg {
  width: 100%;
  border-radius: 10px;
}

.clsProductImg-tablet,
.clsProductImg-mobile {
  display: none;
  border-radius: 10px;
}

.clsAdd-product {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  font-family: "Red Hat Text", sans-serif;
  font-weight: var(--font-weight-semibold);
  border: 1px solid #000;
  outline: none;
  background-color: #fff;
  padding: 10px 15px;
  position: relative;
  border-radius: 25px;
  cursor: pointer;
}

.clsAdd-product:hover {
  border: 1px solid var(--primary-color-one);
  color: var(--primary-color-one);
}

.clsAdd-product img {
  padding-right: 5px;
}

.clsQuantity {
  display: none;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color-one);
  width: 50%;
  border-radius: 25px;
  padding: 10px 15px;
  position: relative;
}

.clsDecreaseQuantity,
.clsIncreaseQuantity {
  border-radius: 50%;
  border: none;
  background-color: transparent;
  border: 1px solid #fff;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.clsDecreaseQuantity:hover,
.clsIncreaseQuantity:hover {
  .clsAdd,
  .clsMinus {
    fill: var(--primary-color-one);
  }
  background-color: #fff;
}

.clsMinus,
.clsAdd {
  fill: #fff;
  width: 10px;
  height: 10px;
}

.clsAdd {
  display: block;
  margin: 0 auto;
}

.clsQuantity-value {
  color: #fff;
  pointer-events: none;
}

.clsProductCategory {
  color: var(--rose-variant-six);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  cursor: pointer;
  width: max-content;
}

.clsProductName {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  cursor: pointer;
}

.clsProductDescription {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 0px;
  cursor: pointer;
}

.clsProductPrice {
  color: var(--primary-color-one);
  width: max-content;
  font-size: 22px;
  margin-bottom: 0px;
}

.clsCart {
  background-color: hsl(0, 0%, 100%);
  border-radius: 10px;
  padding: 15px 20px 30px;
  height: max-content;
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  box-shadow: 0px 0px 5px 0px #bebbbb;
}

.clsCart h3:nth-child(1) {
  color: var(--primary-color-one);
}

.clsEmptyCart {
  display: block;
  margin: 30px auto;
}

.clsEmptyCart-message {
  text-align: center;
  font-size: 14px;
}

.clsAddedProducts-container {
  margin-top: 25px;
  border-bottom: 1px solid var(--rose-variant-two);
}

.clsAddedProducts {
  margin-bottom: 15px;
}

.clsAddedProductName {
  font-size: 14px;
  margin-bottom: 5px;
}

.clsQuantity-and-prices {
  display: flex;
  align-items: center;
}

.clsAddedQuantity,
.clsBoughtAddedQuantity {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color-one);
}

.clsAddedPrice {
  margin-left: 12px;
}

.clsMultipliedPrice {
  margin-left: 12px;
  font-weight: 700;
}

.clsAddedPrice,
.clsMultipliedPrice {
  font-size: 14px;
  color: var(--rose-variant-three);
}

.clsRemoveProduct {
  outline: none;
  border: 1px solid #caafa7;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.clsRemoveIcon {
  fill: #caafa7;
  display: block;
  margin: 0 auto;
}

.clsOrderTotal {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  margin-top: 25px;
}

.clsOrderTotal p {
  font-size: 14px;
}

.clsCheckout {
  display: flex;
  flex-direction: column;
  margin-top: 5px;
}

.clsCarbonNeutral {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  text-wrap: nowrap;
  background-color: var(--rose-variant-one);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 30px;
  cursor: default;
}

.clsCarbonNeutral-icon {
  fill: #1ea575;
  margin-right: 5px;
  width: 20px;
  height: 20px;
}

.clsConfirmOrder {
  background-color: var(--primary-color-one);
  outline: none;
  border: none;
  border-radius: 25px;
  color: #fff;
  font-family: "Red Hat Text", sans-serif;
  letter-spacing: 0.5px;
  font-size: 15px;
  padding: 12px;
  cursor: pointer;
}

.clsModal-container {
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  justify-content: center;
  overflow-y: scroll;
  padding: 40px 0;
}

.clsHide {
  display: none;
}

.clsShow {
  display: flex;
}

.clsModal {
  z-index: 1;
  background-color: #fff;
  width: 40vw;
  border-radius: 10px;
  margin: auto;
  padding: 20px;
  overflow-y: scroll;
}

.clsModal::-webkit-scrollbar {
  width: 5px;
}

.clsModal::-webkit-scrollbar-thumb {
  background-color: var(--rose-variant-five);
  border-radius: 20px;
}

.clsCloseModal {
  display: flex;
  justify-content: flex-end;
}

.clsCloseModal-icon {
  cursor: pointer;
  fill: var(--primary-color-one);
}

.clsCheckMark {
  height: 36px;
}

.clsModal-header p {
  font-size: 13px;
}

.clsOrderSummary {
  background-color: var(--rose-variant-one);
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0 40px;
}

.clsBoughtProducts-container {
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  align-items: center;
}

.clsBoughtProducts {
  display: flex;
}

.clsBoughtProducts-list {
  margin-left: 12px;
  display: flex;
  flex-flow: column;
  justify-content: space-evenly;
}

.clsBoughtProductImage {
  width: max-content;
}

.clsThumbnail-image {
  width: 51px;
  border-radius: 5px;
}

.clsBoughtAddedQuantity {
  padding-right: 10px;
  font-size: var(--font-size-product-names);
}

.clsProductRegularPrice {
  font-size: 14px;
  color: var(--rose-variant-three);
}

.clsBoughtProductPrice {
  font-size: 1em;
  margin-bottom: 2px;
}

.clsDivider {
  width: 100%;
  border-bottom: 1px solid var(--rose-variant-two);
  margin: 10px 0;
}

.clsModal-order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.clsModal-order-total p {
  font-size: 14px;
}

.clsNewOrder {
  width: 100%;
  text-align: center;
  font-family: "Red Hat Text", sans-serif;
  border: none;
  outline: none;
  background-color: var(--primary-color-one);
  color: #fff;
  padding: 12px 0;
  border-radius: 20px;
  cursor: pointer;
}

.clsSpinner-container {
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.5);
}

.clsSpinner {
  width: 50px;
  height: 50px;
  margin: 0 auto;
  border: 6px solid;
  border-radius: 50%;
  border-color: var(--primary-color-one) transparent var(--rose-variant-two)
    transparent;
  animation: spin 1.2s cubic-bezier(0.6, -0.28, 0.74, 0.05) infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.clsSizeSelection,
.clsColorSelection {
  margin-top: 0;
}

.clsSizeSelection h5,
.clsColorSelection h5 {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.clsSizeButtons,
.clsColorButtons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clsSizeBtn,
.clsColorBtn {
  padding: 8px 16px;
  font-size: 13px;
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #cccccc;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clsSizeBtn:hover,
.clsColorBtn:hover {
  background-color: var(--primary-color-one);
  color: #ffffff;
  border-color: var(--primary-color-one);
}

.clsSizeBtn.clsSelected,
.clsColorBtn.clsSelected {
  background-color: var(--primary-color-one);
  color: #ffffff;
  border-color: var(--primary-color-one);
}

@media (max-width: 600px) {
  .clsSizeButtons,
  .clsColorButtons {
    gap: 6px;
  }

  .clsSizeBtn,
  .clsColorBtn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

.clsProductGallery {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.clsMainProductImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.clsThumbnail-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 10px;
}

.clsThumbnail-row {
  display: flex;
  gap: 8px;
  padding: 8px 0;
}

.clsThumbnail {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.clsThumbnail:hover,
.clsThumbnail.clsActive {
  border-color: var(--primary-color-one);
}

.clsSizeSelect,
.clsColorSelect {
  height: 40px;
  font-size: 16px;
  padding: 0 30px 0px 10px;
  text-align: start;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clsSizeSelect:hover,
.clsSizeSelect:focus,
.clsColorSelect:hover,
.clsColorSelect:focus {
  border-color: var(--primary-color-one);
  box-shadow: 0 0 5px rgba(11, 148, 68, 0.4);
}

@media (max-width: 600px) {
  .clsSizeSelect,
  .clsColorSelect {
    font-size: 15px;
    padding: 8px 12px;
  }
}
