/* 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: hsl(var(--white));
  border-radius: 5px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.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;
  }
}



.gateway-card {
  padding: 15px;
}

.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: #fff;
  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: 1px solid #fff;
  border-top-color: var(--border-color);
  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));
  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;
}


.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;
}



/* ==================================================
   BOOKSFINITY BRAND OVERRIDES
   Added August 2026
   Keep original theme CSS above
================================================== */


/* ==================================================
   PHASE ONE — BOOKSFINITY BRAND FOUNDATION
================================================== */

/* Brand colors */
:root {
  --bf-emerald: #0f4f43;
  --bf-deep-emerald: #083a32;
  --bf-gold: #c5a464;
  --bf-soft-gold: #ddc78f;
  --bf-ivory: #fbf8f1;
  --bf-cream: #f3eee4;
  --bf-charcoal: #292929;
  --bf-muted: #6f6a61;
  --bf-border: #e4dccd;
}

/* Overall site */
body {
  background-color: var(--bf-ivory);
  color: var(--bf-charcoal);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.title {
  color: var(--bf-deep-emerald);
  font-family: Georgia, "Times New Roman", serif;
}

/* Links */
a {
  transition: color 0.25s ease;
}

a:hover {
  color: var(--bf-gold);
}

/* Main buttons */
.btn--base,
.btn-primary,
button[type="submit"],
input[type="submit"] {
  background-color: var(--bf-emerald) !important;
  border-color: var(--bf-emerald) !important;
  color: #ffffff !important;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn--base:hover,
.btn-primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background-color: var(--bf-deep-emerald) !important;
  border-color: var(--bf-gold) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Outline buttons */
.btn-outline,
.btn--outline {
  background-color: transparent !important;
  border: 1px solid var(--bf-emerald) !important;
  color: var(--bf-emerald) !important;
  border-radius: 6px;
}

.btn-outline:hover,
.btn--outline:hover {
  background-color: var(--bf-emerald) !important;
  color: #ffffff !important;
}

/* Header and navigation */
.header,
.navbar,
.main-menu {
  background-color: #ffffff;
}

.navbar a,
.main-menu a,
.menu a {
  color: var(--bf-deep-emerald);
  font-weight: 600;
}

.navbar a:hover,
.main-menu a:hover,
.menu a:hover {
  color: var(--bf-gold);
}

/* Search bars and form fields */
.form-control,
.form--control,
input,
select,
textarea {
  border: 1px solid var(--bf-border);
  border-radius: 6px;
  background-color: #ffffff;
}

.form-control:focus,
.form--control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--bf-gold) !important;
  box-shadow: 0 0 0 3px rgba(197, 164, 100, 0.15) !important;
  outline: none;
}

/* Product and general cards */
.product-card,
.product-item,
.card {
  background-color: #ffffff;
  border: 1px solid var(--bf-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 79, 67, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover,
.product-item:hover,
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 79, 67, 0.11);
}

/* Product titles */
.product-card__title,
.product-title,
.product-item h5,
.product-item h6 {
  color: var(--bf-deep-emerald);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

/* Prices */
.product-price,
.current-price,
.price {
  color: var(--bf-emerald);
  font-weight: 700;
}

.old-price,
.previous-price,
del {
  color: #958f85;
}

/* Badges */
.badge,
.sale-badge,
.discount-badge {
  background-color: var(--bf-gold) !important;
  color: var(--bf-deep-emerald) !important;
  border-radius: 999px;
  font-weight: 700;
}

/* Subscribe section */
.subscribe-section,
.newsletter-section,
.newsletter {
  background-color: var(--bf-deep-emerald) !important;
  color: #ffffff;
}

.subscribe-section h2,
.subscribe-section h3,
.newsletter-section h2,
.newsletter-section h3,
.newsletter h2,
.newsletter h3 {
  color: var(--bf-soft-gold) !important;
}

.subscribe-section p,
.newsletter-section p,
.newsletter p {
  color: rgba(255, 255, 255, 0.88);
}

/* Footer */
footer,
.footer,
.footer-area {
  background-color: var(--bf-deep-emerald) !important;
  color: rgba(255, 255, 255, 0.84);
}

footer h4,
footer h5,
footer h6,
.footer h4,
.footer h5,
.footer h6 {
  color: var(--bf-soft-gold) !important;
  font-family: Georgia, "Times New Roman", serif;
}

footer a,
.footer a {
  color: rgba(255, 255, 255, 0.84);
}

footer a:hover,
.footer a:hover {
  color: var(--bf-soft-gold);
}

/* Cookie popup branding */
.cookies-card {
  border: 1px solid var(--bf-border);
  border-radius: 10px;
}

.cookies-card__icon {
  background-color: var(--bf-emerald);
}

.cookies-btn {
  background-color: var(--bf-emerald);
  color: #ffffff;
}

.cookies-btn:hover {
  background-color: var(--bf-deep-emerald);
  color: #ffffff;
}

/* Copy confirmation */
.copied::after {
  background-color: var(--bf-emerald);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .product-card,
  .product-item,
  .card {
    border-radius: 8px;
  }
}

/* TEMPORARY CSS TEST */
body::before {
  content: "BOOKSFINITY CSS ACTIVE";
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999999;
  background: #0f4f43;
  color: #ffffff;
  padding: 10px 16px;
  border: 2px solid #c5a464;
  border-radius: 6px;
  font-weight: 700;
}