.tm-site-logo {
  height: 150px !important;
  background-color: transparent !important;
}

.tm-nav-item {
  margin-bottom: 0 !important;
}

.tm-nav .tm-nav-link {
  padding: 9px 30px !important;
  min-height: 40px !important;
  height: auto !important;
  display: flex !important;
  align-items: flex-start;
  gap: 6px !important;
}

.tm-site-header {
  margin-top: 20px !important;
  margin-bottom: 30px !important;
}

header {
  width: 290px !important;
}

.tm-header-wrapper {
  overflow-x: hidden !important;
}

.tm-nav {
  margin-bottom: 20px !important;
}

.tm-nav-l2 {
  padding-left: 16px;
}

#content {
  min-height: calc(100vh - 3em - 183px);
}

@media (min-width: 992px) {
  .tm-main {
    margin-left: 275px !important;
    padding: 80px 50px 25px !important;
  }
}

@media (max-width: 767px) {
  .tm-main {
    padding-top: 0 !important;
  }

  .tm-main > #content > h1 {
    padding-left: 45px !important;
  }

  .quick-action-top {
    margin-left: 45px !important;
  }
}

.tm-nav h4 {
  margin-left: 30px;
  font-weight: bold;
  color: #fff !important;
}

.form-control[type=checkbox] {
  width: 38px !important;
  display: inline !important;
  vertical-align: middle;
}

.error {
	font-weight: bold;
	color: red;
}

.action-16 {
	width: 16px;
	height: 16px;
}

hr {
	border: 0;
	height: 1px;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
	margin: 10px 0;
}


.purchase-card {
	vertical-align:middle;
	width: 25px;
	border: none;
}

.purchase-add-to-cart-link {
  display: inline-block;
  text-decoration: none;
}

.purchase-checkout-link {
  display: inline-flex;
  align-items: center;
  color: #0a8ea5 !important;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-right: 8px;
}

.purchase-checkout-link:hover,
.purchase-checkout-link:focus {
  color: #066f81 !important;
  text-decoration: underline;
}

.purchase-add-to-cart-link.button,
.purchase-add-to-cart-button.button,
.remove-from-cart-button.button,
.checkout-actions .button {
  padding: 5px 10px;
}

.purchase-add-to-cart-link {
  margin-right: 8px;
}

.checkout-actions .button {
  min-width: 180px;
}

.purchase-sms {
	vertical-align:middle;
	width: 25px;
	border: none;
}

.unread-badge {
  color: red;
  font-weight: bold;
  padding: 0 10px;
}

.custom-control-inline {
  line-height: 1.5em;
  display: inline-flex;
}

input[type='radio'] {
  line-height: 1.5rem;
  margin: auto;
}

label {
  line-height: 1.5rem;
}

.question {
  margin-bottom: 16px;
  font-size: 1.5em;
  font-weight: bold;
  display: block;
}

.process-action-button {
	padding: 8px 32px !important;
}

.flip-horizontally {
	transform: scaleX(-1);
}

.tm-nav .tm-nav-link i {
  width: 16px;
  text-align: center;
  color: #fff !important;
  flex: 0 0 16px;
  margin-top: 3px;
  margin-right: 12px !important;
}

.tm-nav .tm-nav-link,
.tm-nav .tm-nav-link:visited {
  color: #fff !important;
}

.tm-nav .tm-nav-link span {
  color: #fff !important;
}

.tm-nav .tm-nav-label {
  flex: 1;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tm-nav .tm-nav-link:hover,
.tm-nav .tm-nav-link:hover i,
.tm-nav .tm-nav-link:hover span,
.tm-nav .tm-nav-item.active .tm-nav-link,
.tm-nav .tm-nav-item.active .tm-nav-link i,
.tm-nav .tm-nav-item.active .tm-nav-link span {
  color: #0CC !important;
}

.ipip-menu-cart-count {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #0f5132;
  color: #fff;
  text-align: center;
  line-height: 24px;
  display: inline-block;
  margin-left: auto;
  font-size: 0.8rem;
  align-self: center;
  flex: 0 0 auto;
}

.ipip-menu-cart-count.is-empty {
  background: #9aa6a0;
}

.ipip-cart-overlay {
  position: absolute;
  background: #fff;
  border: 1px solid #cfe5dc;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  padding: 18px 20px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(16px);
  transition: all .25s ease;
}

.ipip-cart-overlay.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ipip-cart-overlay-title {
  margin-bottom: 10px;
  font-weight: bold;
  color: #24424b;
}

.ipip-cart-overlay-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0cc 0%, #089fb8 100%);
  box-shadow: 0 10px 24px rgba(8, 159, 184, 0.28);
  color: #fff !important;
  font-weight: bold;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ipip-cart-overlay-link:hover,
.ipip-cart-overlay-link:focus {
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, #11d7d7 0%, #0aa8c2 100%);
  box-shadow: 0 14px 28px rgba(8, 159, 184, 0.36);
  transform: translateY(-1px);
}

.ipip-cart-overlay-link::after {
  content: "\203A";
  font-size: 1.25rem;
  line-height: 1;
  margin-left: 8px;
}

@media (max-width: 767px) {
  .ipip-cart-overlay-link {
    width: 100%;
  }
}

.checkout-form {
  margin-top: 30px;
  max-width: 720px;
}

.checkout-card {
  max-width: 720px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid #dce8ea;
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(27, 53, 73, 0.08);
  padding: 26px 28px;
}

.checkout-card + .checkout-form,
.checkout-card + .checkout-card,
.checkout-form .checkout-card {
  margin-top: 24px;
}

.checkout-card-header {
  margin-bottom: 18px;
}

.checkout-card-header h3 {
  margin: 0 0 6px;
}

.checkout-card-header p {
  margin: 0;
  color: #6b7680;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f4f8f8;
  border: 1px solid #e3eded;
}

.checkout-item-main {
  min-width: 0;
}

.checkout-item-title {
  font-weight: 700;
  color: #20343d;
}

.checkout-item-meta {
  margin-top: 4px;
  font-size: 0.92rem;
  color: #68808b;
}

.checkout-item-side {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.checkout-item-price {
  font-weight: 700;
  color: #1e6f5c;
  white-space: nowrap;
}

.checkout-total {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dde8ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
}

.checkout-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.checkout-field input,
.checkout-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  min-height: 46px;
  background: #fff;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.checkout-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.checkout-grid--billing {
  align-items: start;
}

.billing-person-fields,
.billing-company-fields {
  margin-bottom: 6px;
}

.billing-company-fields .checkout-grid {
  margin-bottom: 0;
}

.billing-person-fields .checkout-field,
.checkout-field--row-width {
  max-width: 100%;
}

.checkout-field--row-width {
  grid-column: 1 / -1;
}

#country {
  background-image:
    linear-gradient(45deg, transparent 50%, #6d6d6d 50%),
    linear-gradient(135deg, #6d6d6d 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.checkout-actions {
  margin-top: 24px;
}

@media (max-width: 767px) {
  .ipip-cart-overlay {
    left: 12px !important;
    right: 12px !important;
  }

  .checkout-card {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .checkout-item {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-item-side {
    justify-content: space-between;
  }
}
