/* Exavro additions on top of the theme stylesheet. */

/* Text logo (header / footer) */
.exv-logo {
  display: inline-block;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--main, #181818);
}
@media (max-width: 767px) {
  .exv-logo {
    font-size: 22px;
    letter-spacing: 0.12em;
  }
}

/* Toast messages (add to cart, errors…) */
.exv-toasts {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(360px, calc(100vw - 32px));
}
.exv-toast {
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--main, #181818);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: exv-toast-in 0.2s ease-out;
}
.exv-toast.error {
  background: #db1215;
}
@keyframes exv-toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* Wishlist icon when the product is already saved */
.box-icon.wishlist.exv-active,
.btn-icon-action.wishlist.exv-active {
  background-color: var(--main);
  color: var(--white, #fff);
}
.box-icon.wishlist.exv-active .icon {
  color: var(--white, #fff);
}

/* Form feedback */
.exv-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 16px;
}
.exv-alert.error {
  background: #fdecec;
  color: #b00d10;
}
.exv-alert.success {
  background: #e9f7ef;
  color: #17683a;
}
.exv-field-error {
  display: block;
  color: #db1215;
  font-size: 13px;
  margin-top: 4px;
}
.exv-muted {
  color: var(--secondary-2, #909090);
}

/* Buttons rendered as <button> keep the theme look */
button.tf-btn,
button.btn-style-2,
button.btn-style-3 {
  border: 0;
}
.tf-btn[disabled],
.btn-style-2[disabled],
.btn-style-3[disabled],
.tf-btn.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* Colour picker for React-controlled variant options (radio + label). */
.variant-picker-item .variant-picker-values label.exv-color {
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 3px;
}
.variant-picker-item .variant-picker-values input:checked + label.exv-color {
  border-color: var(--main);
}
.variant-picker-item .variant-picker-values label.exv-color .btn-checkbox {
  border: 0;
}
.variant-picker-item .variant-picker-values label.style-text.type-sold-out span {
  opacity: 0.5;
}

/* Filter sidebar: price inputs and clickable facet rows */
.exv-price-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}
.exv-price-inputs input {
  width: 100%;
}
.facet-content .categories-item,
.facet-color-box .color-item,
.facet-size-box .size-item {
  cursor: pointer;
}

/* Empty / loading states */
.exv-empty {
  text-align: center;
  padding: 40px 16px;
}
.exv-empty p {
  margin-bottom: 20px;
}
.exv-loading {
  text-align: center;
  padding: 40px 16px;
  color: var(--secondary-2, #909090);
}

/* Product image placeholder when a product has no photo yet */
.exv-no-image {
  background: var(--surface, #f7f7f7);
  aspect-ratio: 3 / 4;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-2, #909090);
  font-size: 13px;
}

/* OTP input */
.exv-otp input {
  letter-spacing: 8px;
  font-size: 20px;
  text-align: center;
}

/* Rich text from the admin (plain text with line breaks) */
.exv-text p + p {
  margin-top: 12px;
}
.exv-prewrap {
  white-space: pre-line;
}

/* Laundry care symbols in the product Description tab. */
.exv-care-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 0;
  list-style: none;
}
.exv-care-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--main, #000);
}
.exv-care-item svg {
  flex: none;
  width: 26px;
  height: 26px;
}

/* Order status timeline */
.exv-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.exv-timeline li {
  position: relative;
  padding: 0 0 20px 24px;
  border-left: 2px solid var(--line, #e9e9e9);
}
.exv-timeline li:last-child {
  border-left-color: transparent;
}
.exv-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--main, #181818);
}

/* Home page "about the store" text and FAQ (search engines rank on visible text). */
.exv-seo {
  border-top: 1px solid var(--line, #e9e9e9);
}
.exv-seo-title {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 16px;
}
.exv-seo-subtitle {
  font-size: 20px;
  margin-bottom: 12px;
}
.exv-seo p {
  color: var(--secondary, #4d4e4f);
  margin-bottom: 12px;
}
.exv-faq details {
  border-bottom: 1px solid var(--line, #e9e9e9);
  padding: 12px 0;
}
.exv-faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style-position: inside;
}
.exv-faq details p {
  margin: 8px 0 0;
}
