/* ===================================================================
 * SIFENCY ADDONS - MASTER STYLESHEET
 *
 * TABLE OF CONTENTS
 * -------------------------------------------------------------------
 * 01. Root Variables & Global Helpers
 * 02. Generic Components
 *     2.1. Image Masking & Overlay
 * 03. Elementor Widget Styles
 *     3.1. Author Box
 *     3.3. Blockquote
 *     3.5. Breadcrumb
 *     3.7. Circle Text Loop
 *     3.9. Dynamic Heading
 *     3.10. Dynamic Image
 *     3.13. Fun Fact (Counter)
 *     3.14. Icon Box
 *     3.15. Icon List
 *     3.17. Placeholder
 *     3.19. Post Meta
 *     3.20. Post Navigation
 *     3.21. Post Terms
 *     3.22. Progress Bar
 *     3.23. Search Form
 *     3.25. Social Icons
 *     3.27. Share Buttons
 * 04. WooCommerce Styles
 *     4.1. Single Product Page
 *     4.2. Mini Cart
 *     4.3. Product Tabs
 * 05. Keyframes
 * 06. Buttons
 * =================================================================== */

/* ===================================================================
 * 01. Root Variables & Global Helpers
 * =================================================================== */
.sifency-heading-style,
.sifency-content-style,
.sifency-button-style,
.sifency-item-style,
.sifency-number-style,
.sifency-meta-style,
.odd-item,
.even-item,
.sifency-icon-style {
  transition: all 0.4s ease-in-out;
}

.sifency-heading-style:hover,
.sifency-content-style:hover,
.sifency-button-style:hover,
.sifency-item-style:hover,
.sifency-number-style:hover,
.sifency-meta-style:hover,
.odd-item:hover,
.even-item:hover,
.sifency-icon-style:hover {
  transition: all 0.4s ease-in-out;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none !important;
  content: none !important;
  opacity: 0;
}

.swiper-button-next svg,
.swiper-button-prev svg {
  display: none;
}

svg {
  width: 14px;
}

i {
  font-size: 14px;
}

.sifency-icon-style i {
  display: inline-table;
}

.swiper,
.swiper-container {
  overflow: hidden;
}

.sifency-wishlist-link {
  color: var(--e-global-color-primary);
}

.sifency-slider-nav-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99;
}

.sifency-slider-nav-arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  text-align: center;
  margin: 0 !important;
}

.sifency-slider-nav-arrow:hover {
  background: var(--e-global-color-primary);
  border-color: var(--e-global-color-primary);
  color: #fff;
}

.sifency-slider-nav-arrow::after {
  display: none;
}

.sifency-slider-dots-container {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 99;
}

.sifency-slider-dot.swiper-pagination-bullet {
  cursor: pointer;
  opacity: 1;
  background: #ccc;
}

.sifency-meta-item {
  display: flex;
}

.sifency-meta-item-inner {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}

figcaption.sifency-caption-style {
  margin: 20px 0px;
}

/* ===================================================================
 * 02. Generic Components
 * =================================================================== */
.sifency-image-wrapper {
  line-height: 0;
}

.sifency-image-container {
  display: inline-block;
  position: relative;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.sifency-image-container img {
  display: block;
}

.sifency-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
}

.sifency-image-overlay--always .sifency-image-overlay,
.sifency-image-container:hover .sifency-image-overlay {
  opacity: 1;
}

/* ===================================================================
 * 03. Elementor Widget Styles
 * =================================================================== */

/* 3.3. Blockquote */
.sifency-blockquote {
  display: block;
  position: relative;
  text-align: left;
}

.sifency-blockquote__inner {
  padding: 20px;
}

.sifency-blockquote__icon {
  display: inline-block;
  margin-bottom: 15px;
}

.sifency-blockquote__content {
  font-style: italic;
  margin-bottom: 40px;
}

.sifency-blockquote__footer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sifency-blockquote__author-image img {
  border-radius: 50%;
  margin-right: 15px;
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.sifency-blockquote__author-name {
  font-weight: bold;
}

.sifency-blockquote-align-center {
  text-align: center;
}

.sifency-blockquote-align-center .sifency-blockquote__footer {
  justify-content: center;
}

.sifency-blockquote-align-right {
  text-align: right;
}

.sifency-blockquote-align-right .sifency-blockquote__footer {
  justify-content: flex-end;
}

.sifency-blockquote-align-right .sifency-blockquote__author-image {
  margin-left: 15px;
  margin-right: 0;
}

/* 3.9. Dynamic Heading */
.sifency-heading--stroke .sifency-dynamic-heading {
  -webkit-text-stroke-width: var(--sifency-heading-stroke-width);
  -webkit-text-stroke-color: var(--sifency-heading-stroke-color);
}

.sifency-heading--stroke-hollow .sifency-dynamic-heading {
  color: transparent;
}

.sifency-heading--gradient-fill .sifency-dynamic-heading,
.sifency-heading--image-fill .sifency-dynamic-heading {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* 3.10. Dynamic Image */
.sifency-dynamic-image-wrapper {
  display: inline-block;
  max-width: 100%;
}

.sifency-dynamic-image-figure {
  margin: 0;
  line-height: 0;
}

.sifency-dynamic-image img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

/* 3.17. Placeholder */
.sifency-placeholder {
  padding: 20px;
  text-align: center;
  border-radius: 5px;
}

/* 3.23. Search Form */
.sifency-search-form {
  display: flex;
  position: relative;
  overflow: hidden;
  height: 45px;
}

.sifency-search-field {
  flex-grow: 1;
  border: none;
  background: none;
  padding: 0 15px;
  outline: none;
  font-size: 1em;
}

.sifency-search-submit {
  border: none;
  padding: 0 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* ===================================================================
 * 04. WooCommerce Styles
 * =================================================================== */
.sifency-product-subtitle {
  font-size: 1.1em;
  margin-top: -10px;
  margin-bottom: 15px;
}

.sifency-extra-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--e-global-color-primary);
  color: var(--white-color);
  padding: 5px 12px;
  z-index: 9;
}

.sifency-cart-wrapper a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.sifency-cart-count {
  position: absolute;
  top: -0.5em;
  left: 1.5em;
  border-radius: 50%;
  min-width: 1.6em;
  height: 1.6em;
  font-size: 0.5em;
  line-height: 1.6em;
  text-align: center;
  font-weight: bold;
}

.sifency-cart-subtotal {
  font-weight: bold;
}

/* ===================================================================
 * 05. Keyframes
 * =================================================================== */
@keyframes sifency-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ===================================================================
 * 06. Buttons
 * =================================================================== */
.sifency-button-wrapper {
  display: inline-block;
  text-align: center;
}

.sifency-custom-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: #fff;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.dialog-widget-content {
  z-index: 99999;
}

.sifency-numeric-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.sifency-numeric-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  min-width: 25px;
  padding: 0 6px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.sifency-numeric-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
  cursor: default;
  min-width: 30px;
}

.sifency-numeric-pagination .page-numbers:focus {
  outline-offset: 0px;
}

@media (max-width: 767px) {
  .sifency-numeric-pagination {
    gap: 8px;
    justify-content: center;
  }

  .sifency-numeric-pagination .page-numbers {
    min-width: 30px;
    min-height: 30px;
  }
}

.sifency-st-container {
  display: grid;
  gap: 30px;
  align-items: center;
  width: 100%;
  margin: auto;
}

.sifency-st-container {
  text-align: center;
}

.sifency-st-layout-split-1,
.sifency-st-layout-split-2,
.sifency-st-layout-mixed-1 {
  grid-template-columns: 1fr auto;
}

.sifency-st-layout-three-col-1,
.sifency-st-layout-three-col-2 {
  grid-template-columns: 1fr 1fr 1fr;
}

.sifency-st-left {
  text-align: left;
}

.sifency-st-center {
  text-align: center;
}

.sifency-st-right {
  text-align: right;
}

@media (max-width: 767px) {
  .sifency-st-container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .sifency-st-col {
    text-align: center !important;
  }
}

.sifency-st-title {
  margin: 10px 0;
}

.sifency-st-divider {
  display: inline-block;
  height: 3px;
  width: 60px;
  background: #333;
  margin: 15px 0;
}

.sifency-addons-primary-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
}

.sifency-addons-primary-button:hover {
  background-color: var(--e-global-color-primary);
  color: #ffffff;
}

a.sifency-addons-primary-button,
.sifency-addons-primary-button,
.sifency-addons-primary-button span {
  color: #ffffff;
}

.elementor-editor-active [data-aos],
.elementor-editor-active .sifency-inner-content {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.sifency-label-style {
  display: block;
}

@keyframes sifencyGradientAnim {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

  100% {
    background-position: 0% center;
  }
}

.sifency-fx-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
}

.sifency-fx-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Floating Count Global Styles */
.sifency-floating-count-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

.sifency-floating-count-inner {
  position: -webkit-sticky;
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  width: 80px;
  height: 80px;
  pointer-events: none;
}

.sifency-floating-count-num {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}

/* Floating Positions */
.sifency-floating-count-inner.top_left {
  top: 100px;
  left: 30px;
  right: auto;
  bottom: auto;
  margin-right: auto;
}

.sifency-floating-count-inner.top_center {
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  bottom: auto;
  margin: 0 auto;
}

.sifency-floating-count-inner.top_right {
  top: 100px;
  left: auto;
  right: 30px;
  bottom: auto;
  margin-left: auto;
}

.sifency-floating-count-inner.left_center {
  top: 50%;
  left: 30px;
  right: auto;
  bottom: auto;
  transform: translateY(-50%);
  margin-right: auto;
}

.sifency-floating-count-inner.right_center {
  top: 50%;
  left: auto;
  right: 30px;
  bottom: auto;
  transform: translateY(-50%);
  margin-left: auto;
}

.sifency-floating-count-inner.bottom_left {
  top: calc(100vh - 150px);
  left: 30px;
  right: auto;
  bottom: auto;
  margin-right: auto;
}

.sifency-floating-count-inner.bottom_center {
  top: calc(100vh - 150px);
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  bottom: auto;
  margin: 0 auto;
}

.sifency-floating-count-inner.bottom_right {
  top: calc(100vh - 150px);
  left: auto;
  right: 30px;
  bottom: auto;
  margin-left: auto;
}

.sa-custom-cursor {
  --sa-cursor-size: 96px;
  --sa-cursor-bg: var(--e-global-color-primary);
  --sa-cursor-color: var(--e-global-color-text);
  --sa-cursor-border: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  width: var(--sa-cursor-size);
  height: var(--sa-cursor-size);
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.sa-custom-cursor__dot {
  position: absolute;
  inset: 0;
  border: 1px solid var(--sa-cursor-border);
  border-radius: 999px;
  background: var(--sa-cursor-bg);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.sa-custom-cursor__text {
  position: relative;
  z-index: 1;
  max-width: 82%;
  color: var(--sa-cursor-color);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.sa-custom-cursor.is-outline .sa-custom-cursor__dot {
  background: transparent;
  border-color: var(--sa-cursor-border, var(--sa-cursor-bg));
  box-shadow: none;
}

.sa-custom-cursor.is-outline .sa-custom-cursor__text {
  color: var(--sa-cursor-bg);
}

.sa-custom-cursor.is-accent .sa-custom-cursor__dot {
  mix-blend-mode: difference;
}

.sa-custom-cursor.is-permanent .sa-custom-cursor__text {
  opacity: 1;
}