/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #FF7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}




.cookies-card {
  width: 520px;
  padding: 30px;
  color: #1E2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  background: #d1d1d1;
  border-radius: 5px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}


@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}




.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: '';
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: '';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}



.show-filter {
  display: none;
}

@media(max-width:767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

#confirmationModal .modal-footer .btn {
  padding: 10px 15px;
  font-size: 15px !important;
}

#confirmationModal .modal-footer .btn.btn--primary {
  background-color: hsl(var(--base)/0.1) !important;
  color: hsl(var(--base)) !important;
}

#confirmationModal .modal-footer .btn.btn--primary:hover,
#confirmationModal .modal-footer .btn.btn--primary:focus #confirmationModal .modal-footer .btn.btn--primary:focus-visible {
  background-color: hsl(var(--base-d-200)) !important;
  border: 1px solid hsl(var(--base-d-200)) !important;
  color: hsl(var(--white)) !important;
}

.btn--sm {
  padding: 8px 8px !important;
  font-size: 14px !important;
}

.listing-filter .input-group .form--control {
  height: 48px;
}

.create-listing-form-body .select2-container--default .select2-selection--multiple {
  height: 43px;
}

.listing-filter-button {
  width: 50%;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  position: absolute !important;
}

@media(max-width:991px) {
  .listing-filter-button {
    width: 100%;
  }
}

/* payment */

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: hsl(var(--base));
  border-radius: 5px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: hsl(var(--base));
  background-color: hsl(var(--white));
  box-shadow: var(--box-shadow);
  border-radius: 5px;
  height: 100%;

}


.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;

}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: hsl(var(--base));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border-bottom: 1px solid hsl(var(--black) /0.1);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid var(--hover-border-color);
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid hsl(var(--base));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width))
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid hsl(var(--base)/.6);
  display: inline-block;
  border-radius: 100%;

}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
    width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: transparent;
  color: hsl(var(--base));
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}




.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 12px;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
    align-self: center;
    padding-left: 5px;
  }

}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;

}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

/* Language */

.dropdown-lang {
  margin-top: 25px;
}

.dropdown-lang .language-btn .flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.dropdown-lang .language-btn::after {
  color: hsl(var(--white)) !important;
}

.dropdown-lang .language-text {
  color: hsl(var(--body-color));
  font-size: 16px;
}

.dropdown-lang .dropdown-menu {
  width: 112px !important;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 10px !important;
  max-height: 370px;
  overflow-y: auto;
  background-color: hsl(var(--white));
  z-index: 999;
  box-shadow: var(--box-shadow);
  transform: inherit;
  min-width: 130px !important;
  margin-top: 20px;

}

.dropdown-lang .dropdown-menu.show {
  opacity: 1 !important;
  visibility: visible !important;
}

.dropdown-lang .dropdown-menu a {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  color: hsl(var(--body-color));
  transition: 0.3s;
  padding-bottom: 6px;
  border-bottom: 1px solid hsl(var(--black) / 0.1);
}

.dropdown-lang .dropdown-menu a:hover {
  color: hsl(var(--base));
}

.dropdown-lang .dropdown-menu li:last-child a {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.dropdown-lang .dropdown-menu a .flag {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 50%;
}

.dropdown-lang .dropdown-menu li:last-child a {
  margin-bottom: 0px;
}

/* Top nav links – slightly smaller horizontal padding for more space */
.header .nav-menu .nav-link {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Top-right header buttons – more compact to free menu space */
.header .top-button {
  gap: 0.75rem;
}

.header .top-button .btn {
  padding: 6px 12px;
  font-size: 14px;
}

/* Keep Add Listing button large and prominent */
.header .top-button .btn.btn--base {
  padding: 10px 24px;
  font-size: 15px;
}

.card-empty {
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 1.391rem + 1.268vw, 2.5rem) clamp(1.5rem, 0.283rem + 2.536vw, 2.5rem);
}

.card-empty img {
  height: 100px;
}

.card-empty .empty-thumb {
  text-align: center;
  margin-bottom: 10px;
}

/* Category cards – stronger shadow, hover lift, and more visible listing count */
.category-item {
  box-shadow: 0 8px 24px hsl(var(--black) / 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-item:hover {
  box-shadow: 0 14px 40px hsl(var(--black) / 0.14);
  transform: translateY(-3px);
}

.category-item__number {
  background-color: hsl(var(--base)/0.12); /* light red */
  color: hsl(var(--body-color));           /* dark grey text */
  font-weight: 700;
  padding: 2px 10px;
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 4px;
}

/* Ensure text + pill block stay left-aligned when icon is on the right */
.category-item__content {
  width: auto !important;
  text-align: left;
}

/* Push category icon to the far right inside the flex row */
.category-item__icon {
  margin-left: auto;
}

/*<!-- CSS for Modal -->*/

    .modal {
        position: fixed;
        z-index: 1;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .modal-content {
        background-color: #fefefe;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
        max-width: 500px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* Proudly Canadian badge overlay (used when listing is_proudlycan = YES) */
.feature-item {
  position: relative;
}

.proudlycan-logo-badge {
  position: absolute;
  top: 165px;
  right: 25px;
  bottom: 18px;
  z-index: 3;
  pointer-events: none;
  width: 160px; /* target "red rectangle" size */
  height: 80px;
}

.proudlycan-logo-badge .proudlycan-logo-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  inset: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Blog post body (TinyMCE) – default black text; inline styles from the editor still win */
.blog-details__body p,
.blog-details__body li,
.blog-details__body td,
.blog-details__body th,
.blog-details__body caption {
  color: #000000;
}

/* Blog article headings (TinyMCE) – separate scale & style from site-wide titles */
.blog-details__body h1,
.blog-details__body h2,
.blog-details__body h3,
.blog-details__body h4,
.blog-details__body h5,
.blog-details__body h6 {
  font-family: var(--heading-font);
  color: #000000;
  font-weight: 700;
  line-height: 1.28;
  margin: 1.45em 0 0.6em;
}

.blog-details__body h1:first-child,
.blog-details__body h2:first-child,
.blog-details__body h3:first-child,
.blog-details__body h4:first-child,
.blog-details__body h5:first-child,
.blog-details__body h6:first-child {
  margin-top: 0;
}

.blog-details__body h1 {
  font-size: clamp(1.625rem, 1.15vw + 1.2rem, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.blog-details__body h2 {
  font-size: clamp(1.4rem, 0.75vw + 1.05rem, 1.7rem);
  font-weight: 700;
  padding-bottom: 0.4em;
  border-bottom: 1px solid hsl(var(--black) / 0.12);
}

.blog-details__body h3 {
  font-size: clamp(1.2rem, 0.45vw + 0.95rem, 1.45rem);
  font-weight: 700;
}

.blog-details__body h4 {
  font-size: clamp(1.08rem, 0.3vw + 0.9rem, 1.2rem);
  font-weight: 700;
}

.blog-details__body h5 {
  font-size: clamp(1rem, 0.2vw + 0.88rem, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.blog-details__body h6 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.blog-details__body h1 a,
.blog-details__body h2 a,
.blog-details__body h3 a,
.blog-details__body h4 a,
.blog-details__body h5 a,
.blog-details__body h6 a {
  display: inline;
  color: hsl(var(--base));
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.blog-details__body h1 a:hover,
.blog-details__body h2 a:hover,
.blog-details__body h3 a:hover,
.blog-details__body h4 a:hover,
.blog-details__body h5 a:hover,
.blog-details__body h6 a:hover {
  color: hsl(var(--base-d-200));
}

@media screen and (max-width: 767px) {
  .blog-details__body h1,
  .blog-details__body h2,
  .blog-details__body h3,
  .blog-details__body h4,
  .blog-details__body h5,
  .blog-details__body h6 {
    margin: 1.2em 0 0.55em;
  }
}

/* Optional callout wrapper from TinyMCE: <div class="highlight-box">…</div> */
.blog-details__body .highlight-box {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.125rem 1.35rem 1.125rem 3rem;
  border-radius: 0;
  background: linear-gradient(
    135deg,
    hsl(var(--section-bg)) 0%,
    hsl(var(--white)) 100%
  );
  border: 1px solid #d9d9d9;
  border-left: 4px solid hsl(var(--base));
  box-shadow: 0 5px 20px hsl(var(--black) / 0.12), 0 2px 6px hsl(var(--black) / 0.08);
  color: #000000;
}

/* Font Awesome 6 (all.min.css) – info icon */
.blog-details__body .highlight-box::before {
  content: "\f129";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 1.1rem;
  top: 1.15rem;
  font-size: 1.1rem;
  line-height: 1;
  color: hsl(var(--base));
  -webkit-font-smoothing: antialiased;
}

.blog-details__body .highlight-box > *:first-child {
  margin-top: 0;
}

.blog-details__body .highlight-box > *:last-child {
  margin-bottom: 0;
}

.blog-details__body .highlight-box p,
.blog-details__body .highlight-box li,
.blog-details__body .highlight-box td,
.blog-details__body .highlight-box th {
  color: #000000;
}