.cart-trigger {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-trigger .fa-shopping-bag {
  font-size: 2.5rem;
  color: #576238;
  transition: color 0.2s linear;
}

.cart-trigger:hover .fa-shopping-bag {
  color: #3f4a28;
}

.cart-badge {
  position: absolute;
  top: -0.6rem;
  right: -0.8rem;
  background: #576238;
  color: #f0eadc;
  font-size: 1rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.cart-badge.show {
  opacity: 1;
  transform: scale(1);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(87, 98, 56, 0.55);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
}

.cart-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(46rem, 100vw);
  height: 100vh;
  background: #f0eadc;
  border-left: 0.1rem solid rgba(87, 98, 56, 0.2);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -1rem 0 4rem rgba(87, 98, 56, 0.2);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 2.4rem 2.8rem;
  border-bottom: 0.1rem solid rgba(87, 98, 56, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e8e0cf;
}

.drawer-header-left h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #576238;
  text-transform: none;
  margin-bottom: 0.3rem;
}

.drawer-header-left span {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: rgba(87, 98, 56, 0.5);
  font-family: "Poppins", sans-serif;
}

.close-drawer {
  background: none;
  border: 0.1rem solid rgba(87, 98, 56, 0.25) !important;
  border-radius: 0.4rem;
  cursor: pointer;
  width: 3.8rem;
  height: 3.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s linear;
}

.close-drawer .fa-times {
  font-size: 1.6rem;
  color: rgba(87, 98, 56, 0.55);
}

.close-drawer:hover {
  border-color: #576238 !important;
  background: rgba(87, 98, 56, 0.08);
}

.close-drawer:hover .fa-times {
  color: #576238;
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 2.8rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(87, 98, 56, 0.25) transparent;
}

.drawer-items::-webkit-scrollbar {
  width: 3px;
}
.drawer-items::-webkit-scrollbar-thumb {
  background: rgba(87, 98, 56, 0.25);
  border-radius: 2px;
}

.cart-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  text-align: center;
}

.cart-empty i {
  font-size: 4.5rem;
  color: rgba(87, 98, 56, 0.22);
}

.cart-empty p {
  font-size: 1.4rem;
  color: rgba(87, 98, 56, 0.4);
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}

.cart-empty a {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: #576238;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.cart-empty a:hover {
  opacity: 1;
}

.cart-item {
  display: flex;
  gap: 1.6rem;
  padding: 1.8rem 0;
  border-bottom: 0.1rem solid rgba(87, 98, 56, 0.1);
  animation: ciSlideIn 0.3s ease;
}

@keyframes ciSlideIn {
  from {
    opacity: 0;
    transform: translateX(1.6rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.ci-thumb {
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 0.5rem;
  border: 0.1rem solid rgba(87, 98, 56, 0.15) !important;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff8f0;
}

.ci-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ci-body {
  flex: 1;
}

.ci-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #576238;
  text-transform: none;
  margin-bottom: 0.4rem;
}

.ci-price {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(87, 98, 56, 0.5);
  margin-bottom: 1rem;
}

.ci-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.qty-btn {
  width: 2.8rem;
  height: 2.8rem;
  background: none;
  border: 0.1rem solid rgba(87, 98, 56, 0.22) !important;
  border-radius: 0.4rem;
  color: #576238;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s linear;
  font-family: "Poppins", sans-serif;
  line-height: 1;
}

.qty-btn:hover {
  border-color: #576238 !important;
  background: rgba(87, 98, 56, 0.08);
}

.qty-val {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #576238;
  min-width: 2.4rem;
  text-align: center;
}

.ci-remove {
  background: none;
  border: none !important;
  cursor: pointer;
  font-size: 1.1rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: rgba(87, 98, 56, 0.3);
  text-decoration: underline;
  margin-left: auto;
  transition: color 0.2s linear;
  font-family: "Poppins", sans-serif;
}

.ci-remove:hover {
  color: #c0392b;
}

.ci-linetotal {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #576238;
  white-space: nowrap;
  align-self: flex-start;
  padding-top: 0.2rem;
}

.drawer-footer {
  padding: 2rem 2.8rem 2.8rem;
  border-top: 0.1rem solid rgba(87, 98, 56, 0.12);
  background: #e8e0cf;
}

.promo-row {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.promo-input {
  flex: 1;
  padding: 1rem 1.4rem;
  background: #f0eadc;
  border: 0.1rem solid rgba(87, 98, 56, 0.2) !important;
  border-radius: 0.5rem;
  color: #576238;
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  outline: none !important;
  transition: border-color 0.2s linear;
}

.promo-input::placeholder {
  color: rgba(87, 98, 56, 0.28);
  font-size: 1.2rem;
}

.promo-input:focus {
  border-color: rgba(87, 98, 56, 0.5) !important;
}

.promo-apply {
  padding: 1rem 1.6rem;
  background: none;
  border: 0.1rem solid rgba(87, 98, 56, 0.22) !important;
  border-radius: 0.5rem;
  color: rgba(87, 98, 56, 0.6);
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s linear;
}

.promo-apply:hover {
  border-color: #576238 !important;
  color: #576238;
  background: rgba(87, 98, 56, 0.06);
}

.promo-msg {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  min-height: 1.6rem;
  margin-bottom: 1.4rem;
}

.promo-ok {
  color: #4a7c2f;
}
.promo-err {
  color: #c0392b;
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}

.subtotal-label {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: rgba(87, 98, 56, 0.45);
}

.subtotal-val {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #576238;
  text-transform: none;
}

.shipping-note {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(87, 98, 56, 0.35);
  margin-bottom: 1.8rem;
}

.checkout-btn {
  appearance: none;
  width: 100%;
  background-color: #576238;
  border: 2px solid #576238 !important;
  border-radius: 18px;
  color: #f0eadc;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  padding: 1.4rem 2.4rem;
  min-height: 5rem;
  margin-bottom: 1rem;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}

.checkout-btn:hover:not(:disabled) {
  background-color: #3f4a28;
  border-color: #3f4a28 !important;
  box-shadow: rgba(87, 98, 56, 0.3) 0 8px 15px;
  transform: translateY(-2px);
}

.checkout-btn:active {
  box-shadow: none;
  transform: translateY(0);
}

.checkout-btn:disabled {
  background: rgba(87, 98, 56, 0.15);
  border-color: rgba(87, 98, 56, 0.15) !important;
  color: rgba(87, 98, 56, 0.3);
  cursor: not-allowed;
  transform: none;
}

.wa-btn {
  width: 100%;
  padding: 1.3rem 2rem;
  background: none;
  border: 0.1rem solid #25d366 !important;
  border-radius: 18px;
  color: #25d366;
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.wa-btn .fab {
  font-size: 1.7rem;
}

.wa-btn:hover {
  background: #25d366;
  color: #f0eadc;
  box-shadow: rgba(37, 211, 102, 0.3) 0 8px 20px;
  transform: translateY(-2px);
  animation: none;
}

.wa-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.box-overlay {
  position: absolute;
  inset: 0;
  background: rgba(87, 98, 56, 0.52);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.products .box-container .box:hover .box-overlay {
  opacity: 1;
}

.add-cart-btn {
  appearance: none;
  background-color: #f0eadc;
  border: 2px solid #f0eadc !important;
  border-radius: 18px;
  color: #576238;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  padding: 1.2rem 2.2rem;
  opacity: 0;
  transform: translateY(1rem);
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.products .box-container .box:hover .add-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.add-cart-btn:hover {
  background-color: #fff8f0;
  border-color: #fff8f0 !important;
  box-shadow: rgba(0, 0, 0, 0.2) 0 8px 15px;
  transform: translateY(-2px) !important;
}

.add-cart-btn:active {
  transform: scale(0.97) !important;
  box-shadow: none;
}

.toast {
  position: fixed;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%) translateY(8rem);
  background: #576238;
  color: #f0eadc;
  padding: 1.1rem 2.4rem;
  border-radius: 18px;
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 0.8rem 2.4rem rgba(87, 98, 56, 0.3);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .cart-drawer {
    width: 100vw;
    border-left: none;
  }
  .drawer-header,
  .drawer-items,
  .drawer-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .drawer-header-left h2 {
    font-size: 2.4rem;
  }
  .subtotal-val {
    font-size: 2.4rem;
  }
}

.pd-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(87, 98, 56, 0.65);
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(6px);
}
.pd-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.pd-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: min(72rem, 94vw);
  max-height: 88vh;
  background: #f0eadc;
  border: 0.1rem solid rgba(87, 98, 56, 0.2);
  border-radius: 2rem;
  z-index: 4001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  box-shadow: 0 2.5rem 6rem rgba(87, 98, 56, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pd-modal.active {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: all;
}

.pd-inner {
  display: flex;
  overflow-y: auto;
}

.pd-image-col {
  width: 46%;
  flex-shrink: 0;
  background: #e8e0cf;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 3.5rem 2.4rem 2rem;
  position: relative;
  min-height: 38rem;
  gap: 1.2rem;
}

.pd-slider-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #d8cfbc;
  min-height: 26rem;
  user-select: none;
}

.pd-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.38s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.pd-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.pd-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 28rem;
  padding: 1.5rem;
  cursor: grab;
}
.pd-slide img:active {
  cursor: grabbing;
}

.pd-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(240, 234, 220, 0.7);
  border: 1px solid rgba(87, 98, 56, 0.2) !important;
  color: #576238;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  padding-bottom: 0.15rem;
}
.pd-arrow:hover {
  background: rgba(87, 98, 56, 0.12);
  border-color: rgba(87, 98, 56, 0.45) !important;
  transform: translateY(-50%) scale(1.08);
}
.pd-arrow-prev {
  left: 1rem;
}
.pd-arrow-next {
  right: 1rem;
}

.pd-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.4rem 0;
}
.pd-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(87, 98, 56, 0.2);
  border: none !important;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}
.pd-dot.active {
  background: #576238;
  transform: scale(1.25);
}

.pd-thumbs {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  padding: 0.2rem 0;
}
.pd-thumb {
  width: 6rem;
  height: 6rem;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 2px solid rgba(87, 98, 56, 0.15) !important;
  background: #d8cfbc;
  cursor: pointer;
  padding: 0;
  transition: all 0.22s ease;
  flex-shrink: 0;
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.4rem;
}
.pd-thumb.active {
  border-color: #576238 !important;
  background: rgba(87, 98, 56, 0.08);
}
.pd-thumb:hover {
  border-color: rgba(87, 98, 56, 0.4) !important;
}

.pd-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: rgba(240, 234, 220, 0.85);
  border: 0.1rem solid rgba(87, 98, 56, 0.2) !important;
  border-radius: 0.6rem;
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: rgba(87, 98, 56, 0.55);
  font-size: 1.4rem;
  z-index: 10;
}
.pd-close:hover {
  border-color: #576238 !important;
  color: #576238;
  background: rgba(87, 98, 56, 0.08);
}

.pd-info-col {
  flex: 1;
  padding: 3.5rem 3rem 3rem;
  display: flex;
  flex-direction: column;
  background: #f0eadc;
}
.pd-series-tag {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: rgba(87, 98, 56, 0.5);
  margin-bottom: 0.8rem;
}
.pd-name {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 700;
  color: #576238;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.pd-price {
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #576238;
  margin-bottom: 2rem;
}
.pd-divider {
  height: 0.1rem;
  background: rgba(87, 98, 56, 0.15);
  margin-bottom: 2rem;
}
.pd-desc {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(87, 98, 56, 0.75);
  line-height: 1.85;
  margin-bottom: 2.4rem;
  flex: 1;
}
.pd-specs {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.8rem;
}
.pd-spec-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
}
.pd-spec-label {
  color: rgba(87, 98, 56, 0.4);
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  min-width: 8rem;
}
.pd-spec-val {
  color: rgba(87, 98, 56, 0.8);
}

.pd-add-btn {
  appearance: none;
  width: 100%;
  background-color: #576238;
  border: 2px solid #576238 !important;
  border-radius: 18px;
  color: #f0eadc;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  padding: 1.5rem 2.4rem;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.pd-add-btn:hover {
  background-color: #3f4a28;
  border-color: #3f4a28 !important;
  box-shadow: rgba(87, 98, 56, 0.3) 0 8px 15px;
  transform: translateY(-2px);
}
.pd-add-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

@media (max-width: 640px) {
  .pd-inner {
    flex-direction: column;
  }
  .pd-image-col {
    width: 100%;
    min-height: unset;
    padding: 4.5rem 1.5rem 1.5rem;
    gap: 1rem;
  }
  .pd-slider-wrap {
    min-height: 20rem;
  }
  .pd-slide img {
    max-height: 20rem;
  }
  .pd-thumb {
    width: 5rem;
    height: 5rem;
  }
  .pd-name {
    font-size: 2.4rem;
  }
}

.bf-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(87, 98, 56, 0.65);
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(10px);
}
.bf-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.bf-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: min(48rem, 94vw);
  background: #f0eadc;
  border: 0.1rem solid rgba(87, 98, 56, 0.2);
  border-radius: 2.4rem;
  z-index: 4001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.45s cubic-bezier(0.34, 1.15, 0.64, 1);
  box-shadow:
    0 3rem 8rem rgba(87, 98, 56, 0.25),
    0 0 0 1px rgba(87, 98, 56, 0.05);
  overflow: hidden;
}
.bf-modal.active {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: all;
}

.bf-header {
  background: linear-gradient(135deg, #e8e0cf 0%, #d8cfbc 100%);
  border-bottom: 0.1rem solid rgba(87, 98, 56, 0.12);
  padding: 3rem 3rem 2.4rem;
  text-align: center;
}
.bf-icon {
  font-size: 3.6rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.bf-title {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #576238;
  margin-bottom: 0.5rem;
}
.bf-subtitle {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.08rem;
  color: rgba(87, 98, 56, 0.45);
}

.bf-body {
  padding: 2.8rem 3rem 0;
}
.bf-field {
  margin-bottom: 2rem;
}
.bf-label {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: rgba(87, 98, 56, 0.5);
  margin-bottom: 0.8rem;
}

.bf-input,
.bf-textarea {
  width: 100%;
  padding: 1.3rem 1.6rem;
  background: rgba(87, 98, 56, 0.04);
  border: 0.15rem solid rgba(87, 98, 56, 0.18) !important;
  border-radius: 1.2rem;
  color: #576238;
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  outline: none !important;
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
  box-sizing: border-box;
}
.bf-input::placeholder,
.bf-textarea::placeholder {
  color: rgba(87, 98, 56, 0.22);
}
.bf-input:focus,
.bf-textarea:focus {
  border-color: rgba(87, 98, 56, 0.55) !important;
  background: rgba(87, 98, 56, 0.07);
  box-shadow: 0 0 0 3px rgba(87, 98, 56, 0.06);
}
.bf-textarea {
  resize: vertical;
  min-height: 8.5rem;
  line-height: 1.6;
}

.bf-phone-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}
.bf-phone-prefix {
  padding: 1.3rem 1.4rem;
  background: rgba(87, 98, 56, 0.06);
  border: 0.15rem solid rgba(87, 98, 56, 0.18) !important;
  border-right: none !important;
  border-radius: 1.2rem 0 0 1.2rem;
  color: rgba(87, 98, 56, 0.65);
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.bf-input-phone {
  border-radius: 0 1.2rem 1.2rem 0 !important;
  flex: 1;
}

.bf-error {
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  color: #c0392b;
  min-height: 1.6rem;
  margin-bottom: 0.5rem;
  padding: 0 0.4rem;
}

.bf-footer {
  display: flex;
  gap: 1.2rem;
  padding: 2rem 3rem 3rem;
}
.bf-cancel {
  flex: 0 0 auto;
  padding: 1.4rem 1.8rem;
  background: none;
  border: 0.15rem solid rgba(87, 98, 56, 0.2) !important;
  border-radius: 18px;
  cursor: pointer;
  color: rgba(87, 98, 56, 0.45);
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  transition: all 0.2s;
}
.bf-cancel:hover {
  border-color: rgba(87, 98, 56, 0.45) !important;
  color: rgba(87, 98, 56, 0.75);
}

.bf-submit {
  flex: 1;
  padding: 1.5rem 2rem;
  background: #576238;
  border: 2px solid #576238 !important;
  border-radius: 18px;
  cursor: pointer;
  color: #f0eadc;
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.bf-submit:hover:not(:disabled) {
  background: #3f4a28;
  border-color: #3f4a28 !important;
  box-shadow: rgba(87, 98, 56, 0.3) 0 8px 15px;
  transform: translateY(-2px);
}
.bf-submit:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}
.bf-submit:disabled {
  background: rgba(87, 98, 56, 0.2);
  border-color: rgba(87, 98, 56, 0.15) !important;
  color: rgba(87, 98, 56, 0.35);
  cursor: not-allowed;
  transform: none !important;
}

.bf-spinner {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid rgba(240, 234, 220, 0.3);
  border-top-color: #f0eadc;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.search-trigger {
  background: none;
  border: none !important;
  cursor: pointer;
  padding: 0;
  margin-left: 1.5rem;
  color: #576238;
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s linear;
}
.search-trigger:hover {
  color: #3f4a28;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3500;
  background: rgba(240, 234, 220, 0.97);
  backdrop-filter: blur(14px);
  padding: 2.2rem 9%;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  transform: translateY(-110%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  border-bottom: 1px solid rgba(87, 98, 56, 0.18);
}
.search-overlay.open {
  transform: translateY(0);
}

.search-overlay-icon {
  color: rgba(87, 98, 56, 0.45);
  font-size: 1.9rem;
  flex-shrink: 0;
}

.search-overlay input {
  flex: 1;
  background: none;
  border: none !important;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: #576238;
  letter-spacing: 0.5px;
  caret-color: #576238;
}
.search-overlay input::placeholder {
  color: rgba(87, 98, 56, 0.28);
}

.search-close {
  background: none;
  border: none !important;
  cursor: pointer;
  color: rgba(87, 98, 56, 0.45);
  font-size: 1.8rem;
  padding: 0.4rem;
  transition: color 0.2s;
  flex-shrink: 0;
}
.search-close:hover {
  color: #576238;
}

.search-result-badge {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  color: rgba(87, 98, 56, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.search-no-result {
  display: none;
  text-align: center;
  padding: 6rem 2rem;
  font-family: "Poppins", sans-serif;
  color: rgba(87, 98, 56, 0.35);
  font-size: 1.5rem;
}
.search-no-result i {
  font-size: 4rem;
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0.4;
}

.search-highlight {
  background: rgba(87, 98, 56, 0.15);
  border-radius: 3px;
  padding: 0 2px;
  color: #576238;
}

.box.search-hidden {
  display: none !important;
}
.series-block.search-hidden {
  display: none !important;
}
