﻿.minicart,
.account-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  @media (max-width: 767px) {
    width: 28px;
    height: 28px;
  }

  & svg {
    width: 24px;
    height: 24px;

    & path {
      stroke: #000;
    }
  }
}

.minicart__count {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  background-color: var(--orange);
  color: #000;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: -4px;
  border: 2px solid #f9f9f9;

  @media (max-width: 767px) {
    font-size: 11px;
    height: 22px;
    width: 22px;
    padding: 5px;
    border-radius: 20px;
    bottom: 50%;
    top: auto;
    right: auto;
    left: 50%;
  }
}

.woocommerce-breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  overflow: auto;
  /* gap: 10px; */
  color: var(--font-color);
  opacity: 0.5;
  transition: all 0.2s ease;

  &:hover {
    opacity: 1;
  }

  a {
    text-decoration: none;
    color: var(--font-color);
    transition: all 0.2s ease;

    &:hover {
      color: var(--orange);
    }
  }
}

.cart__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;

  @media (max-width: 1200px) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.cart__table {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart__item {
  display: flex;
  align-items: center;
  position: relative;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);

  &:hover {
    .product-remove {
      opacity: 1;
    }
  }
}

.product-remove {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transition: all 0.2s ease;
  background-color: #d14949;
  border-radius: 10px;
}

.cart__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;

  & svg {
    width: 20px;
    height: 20px;
  }

  & svg path {
    stroke: var(--white);
  }
}

.product-thumbnail {
  flex: 0 0 100px;
  height: 100px;
  border-radius: 10px;
  position: relative;

  @media (max-width: 767px) {
    flex: 0 0 60px;
    height: 60px;
  }

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
}

.product-name {
  flex: 1 1 auto;
  font-size: 18px;

  @media (max-width: 1200px) {
    font-size: 15px;
  }

  @media (max-width: 767px) {
    font-size: 13px;
  }

  & a {
    text-decoration: none;
    color: #000;
  }
}

.quantity-wrapper {
  background-color: rgba(0, 0, 0, 0.07);
  overflow: hidden;
  border-radius: 100px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;

  & input {
    height: 36px !important;
    background-color: transparent;
    width: 100%;
    text-align: center;
    border: none;
    appearance: none;
    font-size: 16px;
    line-height: 1;
    padding: 0 !important;
    width: 40px !important;
    font-family: var(--font-name);
    padding-bottom: 3px !important;

    &:focus {
      outline: none;
    }

    &::-webkit-outer-spin-button,
    &::-webkit-inner-spin-button {
      -webkit-appearance: none;
    }

    &[type="number"] {
      -moz-appearance: textfield;
    }
  }
}

.qty-btn {
  background-color: transparent;
  width: 36px !important;
  height: 36px !important;
  border-radius: 100px;
  padding: 0 !important;
  padding-top: 3px !important;
  border: none;
  outline: none;

  &:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }

  & svg {
    width: 18px;
    height: 18px;
    pointer-events: none;

    & path {
      stroke: #000;
    }
  }
}

.product-subtotal {
  font-weight: bold;
  text-align: center;
  width: 100%;
}

.cart__info {
  border-radius: 10px;
  background-color: #fff;
  padding: 24px;

  @media (max-width: 1200px) {
    padding: 15px;
  }
}

.cart__actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
  @media (max-width: 1200px) {
    gap: 10px;
    margin-bottom: 15px;
  }
}

.cart__coupon {
  width: 100%;
  display: flex;
  width: 100%;
  position: relative;
}

.cart__coupon--input {
  width: calc(100% - 20px);
  background-color: white;
  border: none;
  padding: 0;
  height: 50px;
  /* border-top: 1px solid rgba(0, 0, 0, 0.1); */
  border: 1px solid white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;

  &:focus {
    outline: none;
    border: 1px solid var(--orange);
    padding-left: 20px;
    border-radius: 50px 0 0 50px;
  }
}

.cart__coupon--button {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  border-radius: 50px;
  background-color: var(--orange);
  cursor: pointer;

  &:hover {
    background-color: var(--orange-light);
  }

  & svg {
    width: 16px;
    height: 16px;

    & path {
      stroke: var(--font-color);
    }
  }
}

input,
button {
  font-family: var(--font-name);
  font-size: 16px;
}

.cart__update {
  border-radius: 50px;
  padding: 13px 30px;
  height: 50px;
  border: none;
  background-color: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
  width: 100%;
  cursor: pointer;
  font-size: 16px;

  &[disabled] {
    background-color: rgba(0, 0, 0, 0.03);
    color: rgba(0, 0, 0, 0.15);
    cursor: default;
    border: 1px solid rgba(0, 0, 0, 0);
  }
}

.cart_totals {
  float: none !important;
  width: 100% !important;

  & h2 {
    font-size: 20px;
    font-weight: normal;

    @media (max-width: 1200px) {
      font-size: 18px;
    }
  }
}

.shop_table {
  font-size: 14px;
  margin-top: 14px;
  margin-bottom: 24px;

  @media (max-width: 1200px) {
    margin: 0;
  }

  .row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1);

    @media (max-width: 1200px) {
      border: none;
    }

    .label {
      flex: 0 0 50%;
    }

    .value {
      display: flex;
      align-items: center;
    }
  }
}

.password-input {
  position: relative;

  & button {
    position: absolute;
    right: 0;
    bottom: 10px;
    border: none;
    padding: 5px 10px;
    background-color: var(--font-color);
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    &::after {
      content: "Показать";
    }
    &.display-password {
      background-color: #f5f5f5;
      color: #a3a3a3;
      &::after {
        content: "Скрыть";
      }
    }
  }
}

.woocommerce-password-hint {
  padding: 15px;
  border-radius: 10px;
  background-color: #f7f7f7;
  font-size: 14px;
}

.woocommerce-password-strength {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 14px;

  &.bad {
    color: rgb(218, 94, 94);
  }

  &.short {
    color: orangered;
  }

  &.good {
    color: rgb(11, 111, 179);
  }

  &.strong {
    color: green;
  }
}

.woocommerce {
  & form {
    & h3 {
      margin-bottom: 20px;
      font-size: 20px;
      font-weight: bold;
      /* border-bottom: 1px solid rgba(0, 0, 0, .1);
      padding-bottom: 15px;
      color: rgba(0, 0, 0, .7); */
    }

    .form-row,
    .selection {
      display: flex;
      flex-direction: column;
      width: 100%;
      padding: 0;
      margin-bottom: 15px;

      & label {
        font-size: 14px;
        line-height: 1;
        margin-bottom: 0px;
      }

      .input-text,
      .select2-selection {
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 12px 0;
        background-color: transparent;
        border-radius: 0;
        width: 100%;

        &:focus {
          outline: none;
          border-color: var(--orange);
        }
      }

      & textarea {
        min-height: 150px;
        font-family: var(--font-name);
        font-size: 16px;
        width: 100%;
      }
    }

    & button.button {
      height: 64px;
      border-radius: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: var(--accent) !important;
      color: var(--font-color) !important;

      &:hover {
        background-color: var(--orange-light) !important;
      }
    }
  }

  & h2 {
    @media (max-width: 1200px) {
      font-size: 20px;
      font-weight: bold;
      text-wrap: balance;
    }
  }

  .payment_methods,
  ol,
  ul {
    list-style-type: none;
    padding: 0;

    .notify__info {
      padding: 15px;
      background-color: rgba(0, 0, 0, 0.05);
    }
  }

  & table {
    font-size: 14px !important;

    &.shop_table {
      border: none;
      padding: 0;
      text-align: left;

      & thead {
        display: none !important;
      }

      & td,
      & th {
        padding: 10px 0 !important;
        border: none;
        font-weight: normal;

        .tdrow {
          display: flex;
          align-items: center;

          .woocommerce-remove-coupon {
            order: -1;
            margin-left: 0;
            margin-right: 10px;
          }
        }
      }

      & td {
        &:last-child {
          width: 85px;
          text-align: right;
          vertical-align: bottom;
          position: relative;
        }
      }

      & tbody {
        & td {
          border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
        }

        .cart_item {
          vertical-align: bottom;
        }

        .product-name {
          font-size: 14px;
          position: relative;
        }

        .product-total--count {
          position: relative;
          line-height: 1;
          top: -1px;
          margin-right: 3px;
          padding: 3px 5px;
          background-color: var(--font-color);
          color: white;
          border-radius: 5px;
          font-size: 12px;
          display: inline-flex;
        }

        .product-quantity {
        }

        .product-total--price {
        }
      }

      & tfoot {
        & td,
        & th {
          border-top: none !important;
          border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
          font-weight: normal;

          &:last-child {
            text-align: right;
            vertical-align: middle;
          }
        }

        .order-total {
          & th,
          & td,
          & strong {
            font-weight: bold !important;
            font-size: 16px;
          }
          & th,
          & td {
            /* border-bottom: none; */
            border-top: 1px dotted rgba(0, 0, 0, 0.1) !important;
          }
        }
      }
    }
  }
}

.woocommerce-address-fields__field-wrapper {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  row-gap: 10px;
}

.woocommerce-notices-wrapper {
  margin-bottom: 30px;

  &:not(&:has(*)) {
    display: none;
  }
}

.woocommerce-form-coupon-toggle {
  margin-bottom: 30px;

  @media (max-width: 1200px) {
    margin-bottom: 15px;
  }

  .checkout_coupon {
    display: flex;
    align-items: center;
    padding: 0 !important;
    margin: 10px 0 !important;
    border: none !important;

    .cart__coupon--input {
      background-color: transparent;
      border-color: transparent;
      border-bottom-color: rgba(0, 0, 0, 0.1);
      padding-left: 30px;

      &:focus {
        background-color: #fff;
        border-color: var(--orange);
      }
    }
  }

  .notify__success {
    margin-top: 15px;
  }

  .showcoupon {
    border-radius: 100px !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: var(--font-color) !important;
    height: 42px;
    padding: 10px 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    text-decoration: none;

    &[aria-expanded="true"] {
      background-color: rgba(0, 0, 0, 0.07) !important;
      color: rgba(0, 0, 0, 0.3) !important;
    }
  }
}

.woocommerce-form-login-toggle {
  margin-bottom: 15px;
  .notify__info {
    background-color: #f9eedf;
  }

  .showlogin {
    border-radius: 100px !important;
    background-color: var(--font-color) !important;
    color: white !important;
    height: 42px;
    padding: 10px 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    text-decoration: none;
  }
}

.woocommerce-account-fields {
  display: none;
}

.login__toggle .woocommerce-form-login {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr !important;
  border: none !important;
  padding: 24px !important;
  border-radius: 10px;
  background-color: white;
  margin: 15px 0 !important;
  text-wrap: balance;
  gap: 20px !important;
  row-gap: 5px;

  @media (max-width: 767px) {
    grid-template-columns: 1fr !important;
    padding: 15px !important;
  }

  .clear {
    display: none;
  }
  & p {
    margin: 0 !important;

    &:after {
      display: none !important;
    }
  }

  & p:first-child {
    grid-column: span 3;
    font-size: 14px;
    opacity: 0.5;

    @media (max-width: 767px) {
      grid-column: auto;
    }
  }

  .woocommerce-form-login__rememberme {
    display: none;
  }
}

.checkout {
  .woocommerce-NoticeGroup-checkout {
    margin-bottom: 30px;

    .notify__error {
      padding: 15px;
      display: flex;
      align-items: start;
      justify-content: center;
      padding-left: 30px;
      list-style-type: disc;
      font-size: 14px;
      gap: 5px !important;

      & a {
        color: var(--font-color);
      }
    }
  }
}

#ship-to-different-address {
  font-size: 18px;
  font-weight: normal;
}

.woocommerce-form__label-for-checkbox,
.checkout__review ul li {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 40px;

  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
  }

  &::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 5px;
    background-color: #fff;
    transition: all 0.2s ease;
    opacity: 0;
    background-color: var(--orange);
  }

  &:has(input:checked)::before {
    border-color: var(--orange);
  }
  &:has(input:checked)::after {
    opacity: 1;
  }

  & input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    top: 0;
    left: 0;
  }
}

.checkout__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;

  @media (max-width: 1200px) {
    gap: 15px;
  }

  #billing_country_field,
  #shipping_country_field {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 100px;
    top: 0;
    left: 0;
  }

  #ship-to-different-address {
    &:not(:has(input:checked)) {
      margin-bottom: 0;
    }
  }

  & wc-order-attribution-inputs {
    position: absolute;
  }

  > div {
    background-color: #fff;
    border-radius: 10px;
    padding: 24px;

    @media (max-width: 1200px) {
      padding: 15px;
    }
  }

  .woocommerce-shipping-fields {
    &:not(:has(*)) {
      display: none;
    }
  }

  .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    row-gap: 5px;

    @media (max-width: 767px) {
      grid-template-columns: 1fr;
    }
  }
}

.checkout__review {
  background-color: white;
  padding: 24px;
  border-radius: 10px;
  text-wrap: balance;

  @media (max-width: 1200px) {
    padding: 15px;
  }

  & h3 {
    margin-bottom: 10px !important;
  }

  .shop_table {
    padding: 0;
  }

  & .woocommerce-terms-and-conditions-wrapper {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .woocommerce-shipping-totals {
    &.shipping {
      display: flex;
      flex-direction: column;
      font-size: 16px;

      & th {
        border: none !important;
        padding-bottom: 0 !important;
        font-weight: bold;
      }

      & th,
      & td {
        width: 100% !important;
        border: none !important;
      }

      .woocommerce-shipping-methods {
        gap: 4px;
      }
    }
  }

  .woocommerce-checkout-payment {
    font-size: 16px;

    .payment-title {
      font-weight: bold;
    }

    .wc_payment_method {
      & p {
        font-size: 14px;
        opacity: 0.5;
        margin-top: 5px;
      }

      &:before {
        top: 10px;
      }

      &:after {
        top: 10px;
      }
    }
  }
}

.woocommerce-checkout-payment {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.woocommerce-remove-coupon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
  margin-left: 5px;
  opacity: 0.5;

  &:hover {
    opacity: 1;
  }
}

.woocommerce-remove-coupon::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M19.5 5.5L18.88 15.525C18.722 18.086 18.643 19.367 18 20.288C17.6826 20.7432 17.2739 21.1273 16.8 21.416C15.843 22 14.56 22 11.994 22C9.424 22 8.139 22 7.18 21.415C6.70589 21.1257 6.29721 20.7409 5.98 20.285C5.338 19.363 5.26 18.08 5.106 15.515L4.5 5.5M3 5.5H21M16.056 5.5L15.373 4.092C14.92 3.156 14.693 2.689 14.302 2.397C14.2151 2.33232 14.1232 2.27479 14.027 2.225C13.594 2 13.074 2 12.035 2C10.969 2 10.436 2 9.995 2.234C9.89752 2.28621 9.80453 2.34642 9.717 2.414C9.322 2.717 9.101 3.202 8.659 4.171L8.053 5.5M9.5 16.5V10.5M14.5 16.5V10.5" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>')
    no-repeat center/contain;
}

.wc-proceed-to-checkout {
}

.checkout-button {
  border-radius: 50px !important;
  height: 54px !important;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-color: var(--accent) !important;
  color: var(--font-color) !important;
  padding: auto !important;

  &:hover {
    background-color: var(--orange-light) !important;
  }
}

.button {
}

.alt {
}

.wc-forward {
}

.account {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 20px;
  align-items: start;

  @media (max-width: 1200px) {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.account__content {
  display: flex;
  flex-direction: column;
  gap: 15px;

  & form {
    .button {
      background-color: var(--orange) !important;
      height: 64px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      color: var(--font-color) !important;
      border-radius: 50px !important;
      padding-left: 30px !important;
      padding-right: 30px !important;

      &:hover {
        background-color: var(--orange-light) !important;
      }
    }
  }
}

#account_display_name_description {
  font-size: 14px;
  opacity: 0.5;
  margin-top: 5px;
}

#billing_country_field {
  position: absolute;
  width: 10px;
  opacity: 0;
  pointer-events: none;
}

.edit__account {
  display: flex;
  flex-direction: column;
  gap: 20px;

  @media (max-width: 1200px) {
    gap: 15px;
  }

  fieldset {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background-color: #fff;
    border-radius: 10px;
    text-wrap: balance;

    & legend {
      padding-left: 10px;
      padding-right: 10px;
    }

    & h2 {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 20px;
    }
  }
}

.account__nav {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  font-size: 15px;

  & ul {
    list-style-type: none;
    padding: 0;
    gap: 0;
  }
}

.account__nav--item {
  padding: 13px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--font-color);

  &:first-child {
    border-top: none;
  }

  &:has(.active) {
    border: none;
    background-color: var(--orange);
    border-radius: 50px;
    padding: 13px;

    + .account__nav--item {
      border-top: none;
    }
  }
}

.account__nav--icon {
  width: 24px;
  height: 24px;
}

.account__nav--link {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notify {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
  padding: 10px 30px;
  background-color: #fff;
  border-radius: 10px;
  font-size: 14px;
  min-height: 62px;

  @media (max-width: 1200px) {
    min-height: 50px;
    padding: 10px 15px;
  }

  .button {
    border-radius: 100px !important;
    background-color: var(--font-color) !important;
    color: white !important;
    height: 42px;
    padding: 10px 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;

    &:hover {
      background-color: #363636 !important;
    }
  }

  .restore-item {
    border-radius: 100px;
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--font-color);
    height: 42px;
    padding: 10px 15px;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    text-decoration: none;
    gap: 5px;

    &:hover {
      background-color: rgba(0, 0, 0, 0.2);
    }

    &:before {
      content: "";
      display: inline-block;
      position: relative;
      width: 24px;
      height: 25px;
      top: -2px;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="25" viewBox="0 0 24 25" fill="none" class="back-icon replaced-svg"><path d="M4.5 11L8 7.5L11.5 11" stroke="%232F3843" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 7.5V13.5C8 14.5609 8.42143 15.5783 9.17157 16.3284C9.92172 17.0786 10.9391 17.5 12 17.5H19" stroke="%232F3843" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>');
      background-repeat: no-repeat;
    }
  }
}

.notify__alert {
}

.notify__success {
  .button {
    border-radius: 100px !important;
    background-color: #16b567 !important;

    &:hover {
      background-color: #0f8b4f !important;
    }
  }
}

.notify__error {
  align-items: start;
  background-color: rgb(255, 223, 223);
}

.account__addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  @media (max-width: 1200px) {
    grid-template-columns: 1fr;
  }
}

.account__addresses--grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.account__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  margin-bottom: 10px;

  & h2 {
    font-size: 18px;
    font-weight: normal;
  }
}

.address {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;

  @media (max-width: 1200px) {
    margin-bottom: 0;
  }

  & br {
    display: none;
  }
}

.address__row {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  display: flex;
  padding: 10px;

  & strong {
    flex: 0 0 150px;
    opacity: 0.7;
  }
}

.orders_list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 16px;
}

.orders_list__order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;

  @media (max-width: 1200px) {
    gap: 10px;
    padding: 15px;
    font-size: 14px;
    flex-wrap: wrap;
    justify-content: start;
  }

  & a {
    text-decoration: none;
    color: var(--font-color);
  }
}

.order-number {
  text-decoration: none;
  color: var(--font-color);
}

.order-date {
  font-size: 14px;
  opacity: 0.5;
}

.order-status {
  flex: 0 0 150px;
}

.order-total {
  flex: 1 1 auto;
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--font-color);

  .pay {
    padding: 7px 13px;
    border-radius: 50px;
    background-color: var(--orange);

    &:hover {
      background-color: orange;
    }
  }

  .view {
    padding: 7px 13px;
    border-radius: 50px;
    background-color: #f2f2f2;

    &:hover {
      background-color: var(--font-color);
      color: #fff;
    }
  }

  .cancel {
    opacity: 0.5;
    margin-left: 10px;

    &:hover {
      opacity: 1;
      color: red;
    }
  }
}

.orders_list__order--status-completed {
  background-color: #e6f7e6;

  & a {
    color: var(--font-color);
  }

  .view {
    padding: 7px 13px;
    border-radius: 50px;
    background-color: #fff;
  }
}

.orders_list__order--status-pending {
  background-color: #fff3cd;

  & a {
    color: var(--font-color);
  }

  .view {
    padding: 7px 13px;
    border-radius: 50px;
    background-color: #fff;
  }
}

.orders_list__order--status-cancelled {
  opacity: 0.5;
  color: #7c7c7c;
}

.order__fullview {
  & h2 {
    font-size: 20px;
    font-weight: bold;

    &.order__notes--title {
      font-size: 16px;
    }
  }
}

.order__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: balance;

  @media (max-width: 1200px) {
    padding: 15px;
  }

  & mark {
    opacity: 1;
    font-size: 20px;
    font-weight: bold;
    background-color: transparent !important;

    @media (max-width: 1200px) {
      font-size: 16px;
    }
  }
}

.order__notes {
  gap: 7px !important;
}

.order__notes--item {
  padding: 10px;
  background-color: #f7f7f7;
  font-size: 14px;
  border-radius: 10px;
}

.order__notes--meta {
  font-size: 12px;
  opacity: 0.5;
}

.orders__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-gap: 20px;

  @media (max-width: 1200px) {
    grid-template-columns: 1fr;
    grid-gap: 15px;
  }
}

.order__details {
  background-color: #fff;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;

  @media (max-width: 1200px) {
    padding: 15px;
  }
}

.order__details--list {
  padding: 15px;
  border-radius: 10px;
  background-color: #f7f7f7;
}

.order__details--item {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);

  &:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  &:first-child {
    padding-top: 0;
  }
}

.order__details--product {
  flex: 1 1 auto;

  & a {
    text-decoration: none;
    color: var(--font-color);

    &:hover {
      color: orange;
    }
  }
}

.order__details--quantity {
  position: relative;
  line-height: 1;
  top: -1px;
  margin-left: 3px;
  padding: 3px 5px;
  background-color: var(--font-color);
  color: white;
  border-radius: 5px;
  font-size: 14px;
  display: inline-flex;
}

.order__details--price {
  flex: 0 0 150px;
  text-align: right;

  @media (max-width: 1200px) {
    flex: 0 0 auto;
    margin-left: 10px;
  }
}

.shipping__details {
  background-color: #fff;
  border-radius: 10px;
  padding: 24px;

  @media (max-width: 1200px) {
    padding: 15px;
  }
}

.order__details--totals {
  gap: 0 !important;
}

.order__details--totals__item {
  display: flex;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);

  &:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  &:first-child {
    padding-top: 0;
  }
}

.order__details--totals__label {
  flex: 0 0 150px;
  opacity: 0.7;
}

.order__details--actions {
  display: flex;
  font-size: 16px;
  padding: 7px 15px;
  padding-right: 15px;
  border-radius: 10px;
  background-color: rgb(255, 248, 235);

  @media (max-width: 1200px) {
    font-size: 14px;
  }

  .order__details--actions-heading {
    flex: 1 1 auto;
    order: 1;
  }

  & a {
    text-decoration: none;
    color: var(--font-color);

    &.cancel {
      order: 2;
      margin-left: 0;
      margin-right: 15px;
    }

    &.pay {
      padding: 12px 24px;
      order: 99;
    }
  }
}

.order-again {
  & a {
    background-color: var(--orange) !important;
    color: var(--font-color) !important;
    padding: 15px 36px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50px !important;
    height: auto !important;
    line-height: 1.5 !important;
  }
}

.shipping__details--wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.shipping__details--title {
}

.shipping__details--list {
  gap: 0 !important;
}

.shipping__details--row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);

  & strong {
    flex: 0 0 90px;
    opacity: 0.7;
  }

  &:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  &:first-child {
    padding-top: 0;
  }
}

.success__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 20px;

  @media (max-width: 1200px) {
    padding: 15px;
  }
}

.success__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;

  @media (max-width: 1200px) {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.success__list {
  display: flex;
  flex-direction: row !important;
  align-items: start;
  justify-content: space-between;
  font-size: 14px;
  padding: 15px 24px !important;
  background-color: #effdf5;
  border-radius: 10px;

  @media (max-width: 1200px) {
    padding: 15px !important;
    flex-direction: column !important;
  }
}

.success__item {
  display: flex;
  flex-direction: column;
  gap: 0px;

  & strong {
    font-size: 18px;
    font-weight: bold;
  }
}

.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;

  @media (max-width: 1200px) {
    grid-template-columns: 1fr;
  }
}

.login__cel {
  border-radius: 10px;
  background-color: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;

  & h2 {
    margin-bottom: 20px;
    font-size: 20px;
  }
}

.login__form {
  display: flex;
  flex-direction: column;
  gap: 15px;

  .form-row {
    margin-bottom: 0 !important;
    display: flex;
  }

  .flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;

    & a {
      color: orange !important;
    }

    & label {
      margin: 0;
    }
  }

  .lost_password {
    text-align: right;
    font-size: 14px;
    color: orange;
  }

  button.button.woocommerce-button {
    display: inline-flex !important;
  }
}

.login__reg {
  position: relative;
  & wc-order-attribution-inputs {
    position: absolute;
    pointer-events: none;
    opacity: 0;
  }
  .woocommerce-privacy-policy-text {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);

    & a {
      color: orange !important;
    }
  }
}

.products {
  .woocommerce-notices-wrapper {
    margin-top: 30px;
  }
  .single-hero {
    margin-bottom: 30px;

    @media (max-width: 767px) {
      margin-bottom: 40px;
    }
  }
}

.products__grid {
  > ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 !important;

    @media (max-width: 1200px) {
      grid-template-columns: 1fr 1fr 1fr;
      gap: 20px;
    }

    @media (max-width: 767px) {
      grid-template-columns: 1fr;
      gap: 60px !important;
    }
  }
}

.product__card {
  display: flex;
  flex-direction: column;
}

.product__card--link {
  display: flex;
  color: var(--font-color);
  flex-direction: column;
  text-decoration: none;
  flex: 1 0 auto;

  &:hover {
    .product__card--title {
      color: orange;
    }

    .product__card--excerpt {
      opacity: 1;
    }
  }
}

.product__card--image {
  width: 100%;
  height: 260px;
  margin-bottom: 15px;
  border-radius: 10px;
  background-color: #fff;
  overflow: hidden;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.product__card--content {
  margin-bottom: 15px;
}

.product__card--title {
  margin-bottom: 15px;
  transition: all 0.2s ease;
}

.product__card--excerpt {
  font-size: 14px;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.product__card--footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product__card--price {
  font-size: 20px;
}

.product__add-to-cart,
.product__added_to_cart {
  padding: 0;
  width: 48px;
  height: 48px;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;

  & svg path {
    stroke: var(--font-color);
  }
}

.product__card--button {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 10px;

  &:has(.product__added_to_cart) {
    .product__add-to-cart {
      display: none;
    }
  }
}

.product__added_to_cart {
  background-color: #049e5e;

  & svg path {
    stroke: white;
  }
}
