/* ==========================================================================
   ENVATX UI ENHANCEMENTS â€” additive layer
   Loads AFTER theme.css/style.css. Scoped, subtle, professional.
   Respects prefers-reduced-motion. No layout changes. No !important wars.
   ========================================================================== */

/* ---------- 0. Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- 1. GLOBAL POLISH: smooth transitions on interactive elements ---------- */
a, button, .btn, .dropdown-item, .nav-link, .card, input[type=submit] {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease,
              box-shadow .2s ease, transform .2s ease;
}
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--web-primary, #f00505);
  outline-offset: 2px;
}

/* ---------- 2. BUTTONS: subtle lift + shadow ---------- */
.btn {
  border-radius: 10px;
  font-weight: 600;
}
.btn:hover {
  box-shadow: 0 4px 14px rgba(22, 24, 29, .12);
}
.btn--primary:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(240, 5, 5, .25);
}

/* ---------- 3. CARDS: soft elevation on hover ---------- */
.card {
  border-radius: 12px;
}
.card.__shadow:hover,
.card.shadow:hover {
  box-shadow: 0 10px 28px rgba(22, 24, 29, .10);
  transform: translateY(-2px);
}
/* product cards inside carousels: gentle lift */
.cz-carousel .card:hover,
.product-single-hover:hover {
  box-shadow: 0 10px 24px rgba(22, 24, 29, .10);
}

/* ---------- 4. HEADER: cleaner topbar + sticky nav polish ---------- */
.topbar {
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.topbar-link {
  transition: color .2s ease;
}
.topbar-link:hover {
  color: var(--web-primary, #f00505);
}
.navbar-sticky {
  transition: box-shadow .25s ease, background .25s ease;
}
.navbar-sticky.navbar-stuck {
  box-shadow: 0 4px 18px rgba(22, 24, 29, .08);
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--web-primary, #f00505);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.nav-item:hover > .nav-link::after,
.nav-item.active > .nav-link::after {
  transform: scaleX(1);
}
.navbar-tool-icon-box {
  transition: background .2s ease, box-shadow .2s ease;
}
.navbar-tool:hover .navbar-tool-icon-box {
  box-shadow: 0 4px 12px rgba(22, 24, 29, .12);
}

/* search input: focus ring */
.search-bar-input:focus {
  border-color: var(--web-primary, #f00505);
  box-shadow: 0 0 0 3px rgba(240, 5, 5, .10);
}

/* ---------- 5. DROPDOWN MENUS: smooth open ---------- */
.dropdown-menu {
  transition: opacity .18s ease, transform .18s ease;
}
.dropdown-menu.show {
  animation: epxDropIn .18s ease;
}
@keyframes epxDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-item:hover {
  background: rgba(240, 5, 5, .05);
}

/* ---------- 6. FOOTER: link hover arrows already exist; polish social + headings ---------- */
.epf-social-btn:focus-visible {
  outline: 2px solid #ff8087;
  outline-offset: 2px;
}
.epf-link-list a:focus-visible {
  outline: 2px solid #ff8087;
  outline-offset: 2px;
}

/* ---------- 7. WHATSAPP FLOATING BUTTON: modern, clean, subtle pulse ---------- */
.wa-widget-send-button {
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-widget-send-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
}
.wa-widget-send-button:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 3px;
}
.wa-messenger-svg-whatsapp {
  border-radius: 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .wa-widget-send-button::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .5);
    animation: epxWaPulse 2.4s ease-out infinite;
    pointer-events: none;
  }
}
@keyframes epxWaPulse {
  0%   { transform: scale(.9); opacity: .8; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ---------- 8. SCROLL-TO-TOP button ---------- */
.btn-scroll-top {
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.btn-scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(22, 24, 29, .18);
}

/* ---------- 9. FORM INPUTS: consistent focus ---------- */
.form-control:focus {
  border-color: var(--web-primary, #f00505);
  box-shadow: 0 0 0 3px rgba(240, 5, 5, .10);
}

/* ---------- 10. IMAGES: consistent rounded corners on product/category images ---------- */
.__img img,
.flash-deals-background-image img,
.category_div img {
  border-radius: 10px;
}

/* ---------- 11. SECTION ENTRANCE (home only, subtle fade-up via IO) ---------- */
.epx-ux-fade {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.epx-ux-fade.epx-ux-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .epx-ux-fade { opacity: 1; transform: none; }
}

/* ---------- 12. BADGES: cleaner discount chips ---------- */
.for-discount-value {
  border-radius: 8px 0 8px 0;
}

/* ---------- 13. TOASTR position fix (avoid overlap with floating buttons) ---------- */
#toast-container {
  z-index: 100000 !important;
}

/* ==========================================================================
   ROUND 2 â€” deeper polish
   ========================================================================== */

/* ---------- R2.1 PRODUCT CARDS: image zoom + price pop + title color ---------- */
.product-single-hover .inline_product a.rounded,
.product-single-hover a.rounded {
  transition: transform .35s ease;
  will-change: transform;
}
.product-single-hover:hover .inline_product a.rounded img,
.product-single-hover:hover a.rounded img {
  transform: scale(1.06);
}
.product-single-hover .single-product-details a {
  transition: color .2s ease;
}
.product-single-hover:hover .single-product-details a {
  color: var(--web-primary, #f00505);
}
.product-single-hover:hover .product-price,
.product-single-hover:hover .flash-product-price {
  transition: color .2s ease;
}
.for-discount-value {
  transition: transform .2s ease;
}
.product-single-hover:hover .for-discount-value {
  transform: scale(1.05);
}

/* ---------- R2.2 MEGA MENU (category dropdown): smooth + shadow ---------- */
.category-menu .mega_menu {
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.category-menu > li:hover .mega_menu {
  box-shadow: 0 12px 32px rgba(22, 24, 29, .14);
}
.category-menu > li > a {
  transition: background .18s ease, color .18s ease, padding-left .18s ease;
}
.category-menu > li > a:hover {
  padding-inline-start: 6px;
}

/* ---------- R2.3 TOPBAR: subtle gradient + sticky feel ---------- */
.topbar {
  background: linear-gradient(90deg, rgba(240,5,5,.04), rgba(240,5,5,0) 40%);
}

/* ---------- R2.4 ANNOUNCEMENT BAR: slide-in animation ---------- */
#announcement {
  animation: epxAnnounce .5s ease;
}
@keyframes epxAnnounce {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ---------- R2.5 BREADCRUMBS (product/category pages): cleaner ---------- */
.breadcrumb, .breadcrumb-item a {
  font-size: 13px;
}
.breadcrumb-item a:hover {
  color: var(--web-primary, #f00505);
}

/* ---------- R2.6 WISHLIST / CART ACTION BUTTONS: color feedback ---------- */
.action-btn, .btn-circle {
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.action-btn:hover, .btn-circle:hover {
  transform: translateY(-2px);
}

/* ---------- R2.7 MODALS: smooth scale-in ---------- */
.modal.fade .modal-dialog {
  transition: transform .25s ease, opacity .25s ease;
}
.modal.show .modal-dialog {
  animation: epxModalIn .25s ease;
}
@keyframes epxModalIn {
  from { transform: scale(.96) translateY(10px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

/* ---------- R2.8 TABLES (cart, orders): row hover ---------- */
.table tbody tr {
  transition: background .15s ease;
}
.table tbody tr:hover {
  background: rgba(240, 5, 5, .02);
}

/* ---------- R2.9 INPUT GROUPS: button hover inside search ---------- */
.search_button {
  transition: background .2s ease, filter .2s ease;
}
.search_button:hover {
  filter: brightness(1.1);
}

/* ---------- R2.10 FOOTER: newsletter input focus glow + button press ---------- */
.epf-newsletter-input:focus {
  box-shadow: 0 0 0 3px rgba(230, 57, 70, .18);
}
.epf-newsletter-btn:active {
  transform: scale(.96);
}
.epf-logo img {
  transition: opacity .2s ease;
}
.epf-logo:hover img {
  opacity: .85;
}

/* ---------- R2.11 LANGUAGE/CURRENCY DROPDOWN items hover ---------- */
.dropdown-menu .dropdown-item i {
  transition: transform .2s ease;
}
.dropdown-menu .dropdown-item:hover i {
  transform: translateX(2px);
}

/* ---------- R2.12 OWL CAROUSEL: nicer dots + hover pause ---------- */
.owl-dots .owl-dot span {
  transition: background .2s ease, transform .2s ease;
}
.owl-dots .owl-dot.active span {
  transform: scale(1.2);
}
.owl-carousel:hover .owl-stage {
  /* allow normal interaction; nothing forced */
}

/* ---------- R2.13 SELECTION COLOR (brand) ---------- */
::selection {
  background: rgba(240, 5, 5, .15);
}

/* ---------- R2.14 SKELETON-STYLE SMOOTH SCROLL BEHAVIOR ---------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ---------- R2.15 LINK UNDERLINE ANIMATION for footer top-slide items ---------- */
.footer-slide-item {
  transition: transform .25s ease, box-shadow .25s ease;
}
.footer-slide-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(22, 24, 29, .10);
}
.footer-slide-item .heading,
.footer-slide-item p {
  transition: color .2s ease;
}
.footer-slide-item:hover .heading {
  color: var(--web-primary, #f00505);
}

/* ==========================================================================
   ROUND 3 â€” home page deep polish (scoped to .epx-home only)
   ========================================================================== */

/* ---------- R3.1 TRUST BAR: icon bounce on hover + border highlight ---------- */
.epx-home .epx-trust-item {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.epx-home .epx-trust-item:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 5, 5, .25);
  box-shadow: 0 8px 20px rgba(240, 5, 5, .08);
}
.epx-home .epx-trust-icon {
  transition: transform .25s ease;
}
.epx-home .epx-trust-item:hover .epx-trust-icon {
  transform: scale(1.12) rotate(-4deg);
}

/* ---------- R3.2 HERO WRAP: refined gradient + soft shadow ---------- */
.epx-home .epx-hero-wrap {
  box-shadow: 0 4px 24px rgba(22, 24, 29, .06);
}

/* ---------- R3.3 SECTION TITLES: gradient underline sweep on hover ---------- */
.epx-home .epx-title::after {
  transition: width .4s cubic-bezier(.25,.8,.25,1);
}
.epx-home .section-header:hover .epx-title::after {
  width: 80px;
}

/* ---------- R3.4 VIEW ALL LINKS: arrow slide ---------- */
.epx-home .view-all-text {
  transition: color .2s ease;
}
.epx-home .view-all-text i {
  transition: transform .2s ease;
}
.epx-home .view-all-text:hover i {
  transform: translateX(4px);
}
.epx-home .view-all-text:hover {
  color: var(--epx-primary, #f00505);
}

/* ---------- R3.5 CATEGORY SECTION: icon zoom + name color ---------- */
.epx-home .__cate-item .__img img {
  transition: transform .3s ease;
}
.epx-home .__cate-item:hover .__img img {
  transform: scale(1.1);
}
.epx-home .__cate-item:hover h3 {
  color: var(--web-primary, #f00505);
  transition: color .2s ease;
}

/* ---------- R3.6 BRAND ITEMS: grayscale-to-color on hover ---------- */
.epx-home .__brand-item img {
  transition: filter .3s ease, transform .3s ease;
  filter: grayscale(20%);
}
.epx-home .__brand-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ---------- R3.7 PRICE: sale price color pop ---------- */
.epx-home .flash-product-price,
.epx-home .product-price {
  font-weight: 700;
}

/* ---------- R3.8 FOOTER BANNER IMAGES: subtle zoom ---------- */
.epx-home .footer_banner_img {
  transition: transform .4s ease, box-shadow .4s ease;
  border-radius: 12px;
}
.epx-home .footer_banner_img:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(22, 24, 29, .12);
}

/* ---------- R3.9 CATEGORY-WISE PRODUCT SECTIONS: card lift ---------- */
.epx-home .envatx-product-card {
  transition: transform .25s ease, box-shadow .25s ease;
  border-radius: 12px;
}
.epx-home .envatx-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(22, 24, 29, .10);
}

/* ---------- R3.10 QUICK VIEW BUTTON: appear smoothly ---------- */
.epx-home .quick-view-tag,
.epx-home .action-product-quick-view {
  transition: opacity .25s ease, transform .25s ease;
}
@media (min-width: 768px) {
  .epx-home .quick-view-tag {
    opacity: 0;
    transform: translateY(6px);
  }
  .epx-home .product-single-hover:hover .quick-view-tag {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- R3.11 COUNTDOWN (flash deal): pulse on urgent ---------- */
.epx-home .cz-countdown {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   ROUND 4 â€” inner pages + typography
   ========================================================================== */

/* ---------- R4.1 TYPOGRAPHY: better line-height + heading weights ---------- */
body {
  line-height: 1.55;
}
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.01em;
}

/* ---------- R4.2 PRODUCT DETAIL PAGE: gallery image hover ---------- */
.preview-box .item img,
.product-gallery img {
  transition: transform .3s ease;
}
.preview-box .item:hover img,
.product-gallery .item:hover img {
  transform: scale(1.03);
}

/* ---------- R4.3 CATEGORY PAGE: filter sidebar sticky polish ---------- */
.accordion .card-header button {
  transition: color .2s ease, background .2s ease;
}
.accordion .card-header button:hover {
  color: var(--web-primary, #f00505);
}

/* ---------- R4.4 PAGINATION: modern pills ---------- */
.pagination .page-link {
  border-radius: 8px;
  margin: 0 3px;
  border: none;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.pagination .page-item.active .page-link {
  box-shadow: 0 4px 12px rgba(240, 5, 5, .25);
}
.pagination .page-link:hover {
  background: rgba(240, 5, 5, .06);
  color: var(--web-primary, #f00505);
}

/* ---------- R4.5 BLOG CARDS (if blog enabled): image hover ---------- */
.blog-card img,
[class*="blog"] .card img {
  transition: transform .35s ease;
}
.blog-card:hover img,
[class*="blog"] .card:hover img {
  transform: scale(1.04);
}

/* ---------- R4.6 ALERTS/NOTICES: rounded + left accent ---------- */
.alert {
  border-radius: 10px;
  border-left-width: 3px;
}

/* ---------- R4.7 TOASTR: rounded + shadow ---------- */
#toast-container > div {
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(22, 24, 29, .16) !important;
}

/* ---------- R4.8 BUTTONS: consistent focus ring (stronger) ---------- */
.btn:focus-visible {
  outline: 2px solid var(--web-primary, #f00505);
  outline-offset: 2px;
  box-shadow: none;
}

/* ---------- R4.9 SHOP GRID: consistent card gaps ---------- */
.row.g-3 > [class*="col"] .card {
  height: 100%;
}

/* ---------- R4.10 MOBILE: larger tap targets on nav icons ---------- */
@media (max-width: 767px) {
  .navbar-tool-icon-box {
    min-width: 40px;
    min-height: 40px;
  }
  .navbar-toggler {
    padding: 10px;
  }
}

/* ==========================================================================
   ROUND 5 â€” fixes + mobile UX
   ========================================================================== */

/* ---------- R5.1 CONTACT LINKS (tel:/mailto:) fully clickable ---------- */
.epf-contact-card a,
.epf-contact-card a[href^="tel:"],
.epf-contact-card a[href^="mailto:"] {
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.epf-contact-card a:hover {
  text-decoration: underline;
}

/* ---------- R5.2 MOBILE: bigger contact tap targets ---------- */
@media (max-width: 767px) {
  .epf-contact-card {
    padding: 6px 0;
  }
  .epf-contact-card a {
    display: inline-block;
    padding: 8px 0;
  }
}

/* ---------- R5.3 MOBILE: search input font-size 16px (prevents iOS zoom) ---------- */
@media (max-width: 767px) {
  .search-bar-input,
  .epx3-search-input,
  input[type="search"] {
    font-size: 16px !important;
  }
}

/* ---------- R5.4 FLOATING BUTTONS: don't overlap cookie banner on mobile ---------- */
@media (max-width: 767px) {
  .floating-btn-grp {
    bottom: 90px;
  }
}

/* ---------- R5.5 HEADER SEARCH on mobile: full-width clean ---------- */
@media (max-width: 767px) {
  .search-form-mobile .search-bar-input {
    border-radius: 10px;
    border: 1.5px solid var(--epx3-line, #ececec);
    background: #f7f7f8;
  }
  .search-form-mobile .search-bar-input:focus {
    background: #fff;
    border-color: var(--web-primary, #f00505);
  }
}

/* ---------- R5.6 FOOTER headings: slight letter-spacing refinement ---------- */
.epf-heading {
  letter-spacing: .06em;
}

/* ==========================================================================
   ROUND 6 â€” WhatsApp expandable FAB + price/discount + product borders
   ========================================================================== */

/* ---------- R6.1 WHATSAPP EXPANDABLE FAB ---------- */
.epx-wa-fab {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 10px;
}
.epx-wa-toggle {
  position: relative;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .40);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease;
  padding: 0;
}
.epx-wa-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
}
.epx-wa-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.epx-wa-toggle .wa-messenger-svg-whatsapp {
  width: 30px;
  height: 30px;
  transition: opacity .2s ease, transform .3s ease;
}
.epx-wa-toggle .epx-wa-close {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 300;
  color: #fff;
  opacity: 0;
  transform: rotate(-90deg) scale(.5);
  transition: opacity .25s ease, transform .3s ease;
  pointer-events: none;
}
.epx-wa-fab.epx-wa-open .epx-wa-toggle .wa-messenger-svg-whatsapp {
  opacity: 0;
  transform: rotate(90deg) scale(.4);
}
.epx-wa-fab.epx-wa-open .epx-wa-toggle .epx-wa-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}
@media (prefers-reduced-motion: no-preference) {
  .epx-wa-toggle::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .45);
    animation: epxWaPulse 2.4s ease-out infinite;
    pointer-events: none;
  }
  .epx-wa-fab.epx-wa-open .epx-wa-toggle::after {
    animation: none;
    opacity: 0;
  }
}

/* menu items */
.epx-wa-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.95);
  transform-origin: bottom right;
  transition: opacity .22s ease, transform .25s cubic-bezier(.34,1.56,.64,1), visibility .22s ease;
}
.epx-wa-fab.epx-wa-open .epx-wa-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.epx-wa-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 999px;
  padding: 9px 16px 9px 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #16181d;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(22, 24, 29, .10);
  opacity: 0;
  transform: translateX(12px);
  transition: opacity .2s ease, transform .25s ease, background .2s ease, border-color .2s ease;
}
.epx-wa-fab.epx-wa-open .epx-wa-item {
  opacity: 1;
  transform: translateX(0);
}
/* stagger the items */
.epx-wa-fab.epx-wa-open .epx-wa-item:nth-child(1) { transition-delay: .02s; }
.epx-wa-fab.epx-wa-open .epx-wa-item:nth-child(2) { transition-delay: .06s; }
.epx-wa-fab.epx-wa-open .epx-wa-item:nth-child(3) { transition-delay: .10s; }
.epx-wa-fab.epx-wa-open .epx-wa-item:nth-child(4) { transition-delay: .14s; }
.epx-wa-fab.epx-wa-open .epx-wa-item:nth-child(5) { transition-delay: .18s; }
.epx-wa-item:hover {
  background: #f0fff5;
  border-color: #25d366;
}
.epx-wa-item:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 2px;
}
.epx-wa-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0fff5;
  font-size: 15px;
  flex: 0 0 auto;
}
/* small tooltip arrow */
.epx-wa-item::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: inherit;
  border-right: 1px solid #ececec;
  border-top: 1px solid #ececec;
  opacity: 0;
}
@media (max-width: 767px) {
  .epx-wa-item { font-size: 13px; padding: 8px 14px 8px 9px; }
  .epx-wa-toggle { width: 56px; height: 56px; }
  .epx-wa-toggle .wa-messenger-svg-whatsapp { width: 32px; height: 32px; }
}

/* ---------- R6.2 PRICE & DISCOUNT: background highlight effects ---------- */
/* discount badge: gradient + shine on card hover */
.product-single-hover .for-discount-value,
.envatx-product-card .for-discount-value {
  background: linear-gradient(135deg, #f00505, #c40404);
  color: #fff;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-single-hover:hover .for-discount-value,
.envatx-product-card:hover .for-discount-value {
  box-shadow: 0 4px 12px rgba(240, 5, 5, .35);
}
/* current price: soft background chip on hover */
.product-single-hover .flash-product-price,
.product-single-hover .product-price {
  transition: color .2s ease, background .2s ease, padding .2s ease;
}
.product-single-hover:hover .flash-product-price {
  color: var(--web-primary, #f00505);
}
/* strike price: subtle red tint */
.product-single-hover del {
  color: #9aa0a6;
  transition: color .2s ease;
}
.product-single-hover:hover del {
  color: #e08a8a;
}
/* "Save X%" pill effect on hover (uses existing discount text) */

/* ---------- R6.3 PRODUCT CARD BORDER EFFECTS: gradient border on hover ---------- */
.envatx-product-card,
.product-single-hover {
  position: relative;
  border-radius: 12px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}


.envatx-product-card:hover,
.product-single-hover:hover {
  box-shadow: 0 12px 28px rgba(22, 24, 29, .10);
}
/* scroll-reveal stagger for cards (already present, reinforce) */
.epx-home .epx-stagger {
  will-change: transform, opacity;
}

/* ---------- R6.4 SCROLL CLICK EFFECT: active states on interactive cards ---------- */
.envatx-product-card:active,
.product-single-hover:active,
.get-view-by-onclick:active {
  transform: scale(.98);
  transition: transform .1s ease;
}
/* click ripple feel on buttons */
.btn:active {
  transform: scale(.97);
}

/* ---------- R6.5 SCROLL PROGRESS BAR (top of page, brand gradient) ---------- */
#epxScrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #f00505, #ff6b6b);
  z-index: 200000;
  border-radius: 0 3px 3px 0;
  transition: width .08s linear;
  pointer-events: none;
}

/* ==========================================================================
   ROUND 7 â€” banners, sliders, search, chips, extra motion
   ========================================================================== */

/* ---------- R7.1 HERO BANNER: rounded + shadow + hover zoom (subtle) ---------- */
.epx-home .hero-slider img,
.epx-home .__top-slider-images img {
  border-radius: 14px;
  transition: transform .45s ease;
}
.epx-home .hero-slider .item:hover img {
  transform: scale(1.02);
}

/* ---------- R7.2 BANNER DOTS: brand colored ---------- */
.hero-slider .owl-dot span,
.owl-theme .owl-dots .owl-dot span {
  border-radius: 4px;
  transition: width .25s ease, background .25s ease;
}
.owl-theme .owl-dots .owl-dot.active span {
  background: var(--web-primary, #f00505);
  width: 18px;
}

/* ---------- R7.3 SEARCH RESULTS DROPDOWN: shadow + rounded ---------- */
.search-result-box,
.mobile-search-card {
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(22, 24, 29, .14);
}
.search-result-box .search-item:hover,
.search-result-box a:hover {
  background: rgba(240, 5, 5, .04);
}

/* ---------- R7.4 CATEGORY MENU items: icon rotate on hover ---------- */
.category-menu > li > a img {
  transition: transform .25s ease;
}
.category-menu > li > a:hover img {
  transform: rotate(8deg) scale(1.1);
}

/* ---------- R7.5 CART DROPDOWN: rounded + item hover ---------- */
#cart_items .dropdown-menu,
.cart-dropdown .dropdown-menu {
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(22, 24, 29, .14);
}
#cart_items .dropdown-menu .dropdown-item:hover,
.cart-item:hover {
  background: rgba(240, 5, 5, .03);
}

/* ---------- R7.6 SCROLL SNAP for horizontal chip rows (mobile feel) ---------- */
.epx-home .categories--slider .owl-stage,
.owl-carousel .owl-stage {
  scroll-behavior: smooth;
}

/* ---------- R7.7 BUTTON RIPPLE effect (CSS only, on click via :active) ---------- */
.btn--primary,
.btn-primary,
.epf-cta-btn {
  position: relative;
  overflow: hidden;
}
.btn--primary::after,
.btn-primary::after,
.epf-cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,.35), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.btn--primary:active::after,
.btn-primary:active::after,
.epf-cta-btn:active::after {
  opacity: 1;
  transition: none;
}

/* ---------- R7.8 HEADING ENTRANCE: gradient text on main section titles ---------- */
.epx-home .epx-title {
  background: linear-gradient(120deg, var(--web-primary, #f00505), #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- R7.9 LINK HOVER: underline slide (global, subtle) ---------- */
.view-all-text,
.footer-slide-item a {
  position: relative;
}
.view-all-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.view-all-text:hover::after {
  transform: scaleX(1);
}

/* ---------- R7.10 IMAGE PLACEHOLDER: shimmer while loading ---------- */
img[loading="lazy"] {
  background: linear-gradient(100deg, #f2f2f2 30%, #fafafa 50%, #f2f2f2 70%);
  background-size: 200% 100%;
  animation: epxShimmer 1.8s linear infinite;
}
@keyframes epxShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
/* stop shimmer once loaded (JS adds class) */
img.epx-loaded {
  animation: none;
  background: none;
}

/* ---------- R7.11 TOOLTIP polish ---------- */
.tooltip .tooltip-inner {
  border-radius: 8px;
  font-size: 12px;
  padding: 6px 10px;
}

/* ---------- R7.12 BADGES (New/Hot etc): gradient ---------- */
.badge {
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* ==========================================================================
   ROUND 8 â€” final polish
   ========================================================================== */

/* ---------- R8.1 PRODUCT CARD IMAGE: consistent aspect + bg ---------- */
.envatx-product-card .flash-deals-background-image,
.product-single-hover .inline_product {
  background: #fafafa;
  border-radius: 10px;
}
.envatx-product-card img.__img-125px,
.product-single-hover .inline_product img {
  transition: transform .4s cubic-bezier(.25,.8,.25,1);
}

/* ---------- R8.2 PRICE ROW: better alignment + spacing ---------- */
.envatx-product-card-pricing,
.product-price {
  gap: 6px;
  align-items: baseline;
}

/* ---------- R8.3 SECTION SPACING: consistent rhythm on home ---------- */
.epx-home .card {
  border-radius: 14px;
}

/* ---------- R8.4 WISHLIST HEART: pop animation on click ---------- */
.wishlist-btn:active i,
[class*="wishlist"]:active i {
  animation: epxHeart .35s ease;
}
@keyframes epxHeart {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  70% { transform: scale(.9); }
  100% { transform: scale(1); }
}

/* ---------- R8.5 TOP SELLER / VENDOR cards: hover lift ---------- */
.others-store-card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.others-store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(22, 24, 29, .10);
}

/* ---------- R8.6 NEWSLETTER BUTTON: hover shine ---------- */
.epf-newsletter-btn {
  transition: transform .2s ease, filter .2s ease;
}
.epf-newsletter-btn:hover {
  filter: brightness(1.1);
}

/* ---------- R8.7 SCROLL PROGRESS BAR: subtle glow ---------- */
#epxScrollProgress {
  box-shadow: 0 0 8px rgba(240, 5, 5, .4);
}

/* ---------- R8.8 FOCUS VISIBLE everywhere (final a11y sweep) ---------- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--web-primary, #f00505) !important;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   ROUND 9 â€” WhatsApp AI-BOT style widget
   ========================================================================== */

/* position: same spot as before (floating-btn-grp handles it) */
.epx-wa-fab.epx-wa-bot {
  align-items: flex-end;
}

/* ---------- Bot chat panel ---------- */
.epx-wa-bot-header {
  display: none;
  background: linear-gradient(135deg, #075e54, #128c7e);
  color: #fff;
  border-radius: 14px 14px 0 0;
  padding: 12px 14px;
  align-items: center;
  gap: 10px;
  width: 280px;
}
.epx-wa-fab.epx-wa-open .epx-wa-bot-header {
  display: flex;
  animation: epxBotHead .25s ease;
}
@keyframes epxBotHead {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.epx-wa-bot-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  font-size: 20px;
  flex: 0 0 auto;
}
.epx-wa-bot-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.epx-wa-bot-info strong {
  font-size: 14px;
  font-weight: 700;
}
.epx-wa-bot-info span {
  font-size: 11px;
  color: #b7e4df;
  display: flex;
  align-items: center;
  gap: 5px;
}
.epx-wa-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: epxDot 1.6s ease-in-out infinite;
}
@keyframes epxDot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* greeting bubble (bot message) */
.epx-wa-bot-msg {
  display: none;
  width: 280px;
  background: #fff;
  border-radius: 12px 12px 12px 4px;
  padding: 10px 14px;
  font-size: 13px;
  color: #16181d;
  box-shadow: 0 4px 14px rgba(22, 24, 29, .10);
  margin-bottom: 6px;
  position: relative;
}
.epx-wa-fab.epx-wa-open .epx-wa-bot-msg {
  display: block;
  animation: epxBotMsg .3s ease .1s both;
}
@keyframes epxBotMsg {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* menu items become chat-reply chips */
.epx-wa-fab.epx-wa-bot .epx-wa-menu {
  width: 280px;
  background: #f0f2f5;
  border-radius: 0 0 14px 14px;
  padding: 10px;
  gap: 7px;
  transform-origin: bottom right;
}
.epx-wa-fab.epx-wa-bot .epx-wa-item {
  background: #fff;
  border: 1.5px solid #d9f2e5;
  border-radius: 999px;
  padding: 8px 14px 8px 9px;
  font-size: 13px;
  box-shadow: none;
  opacity: 0;
  transform: translateX(16px);
}
.epx-wa-fab.epx-wa-bot.epx-wa-open .epx-wa-item {
  opacity: 1;
  transform: translateX(0);
}
.epx-wa-fab.epx-wa-bot.epx-wa-open .epx-wa-item:nth-child(1) { transition-delay: .12s; }
.epx-wa-fab.epx-wa-bot.epx-wa-open .epx-wa-item:nth-child(2) { transition-delay: .18s; }
.epx-wa-fab.epx-wa-bot.epx-wa-open .epx-wa-item:nth-child(3) { transition-delay: .24s; }
.epx-wa-fab.epx-wa-bot.epx-wa-open .epx-wa-item:nth-child(4) { transition-delay: .30s; }
.epx-wa-fab.epx-wa-bot.epx-wa-open .epx-wa-item:nth-child(5) { transition-delay: .36s; }
.epx-wa-fab.epx-wa-bot .epx-wa-item:hover {
  background: #e8f9f0;
  border-color: #25d366;
}
.epx-wa-fab.epx-wa-bot .epx-wa-ico {
  width: 26px;
  height: 26px;
  font-size: 13px;
  background: #e8f9f0;
}

/* typing indicator (shows briefly when opening) */
.epx-wa-typing {
  display: none;
  width: fit-content;
  background: #fff;
  border-radius: 12px 12px 12px 4px;
  padding: 10px 14px;
  margin-bottom: 6px;
  box-shadow: 0 4px 14px rgba(22, 24, 29, .08);
}
.epx-wa-fab.epx-wa-open.epx-wa-typing .epx-wa-typing {
  display: flex;
  gap: 4px;
  align-items: center;
}
.epx-wa-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa0a6;
  animation: epxTypeDot 1.2s ease-in-out infinite;
}
.epx-wa-typing span:nth-child(2) { animation-delay: .15s; }
.epx-wa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes epxTypeDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* panel wrapper: header + msg + menu look like one chat window */
.epx-wa-fab.epx-wa-bot.epx-wa-open .epx-wa-bot-header,
.epx-wa-fab.epx-wa-bot.epx-wa-open .epx-wa-bot-msg,
.epx-wa-fab.epx-wa-bot.epx-wa-open .epx-wa-menu {
  box-shadow: 0 16px 40px rgba(22, 24, 29, .18);
}

@media (max-width: 767px) {
  .epx-wa-bot-header,
  .epx-wa-bot-msg,
  .epx-wa-fab.epx-wa-bot .epx-wa-menu {
    width: min(300px, calc(100vw - 48px));
  }
}

/* ==========================================================================
   ROUND 10 â€” WhatsApp widget rebuild: original position, clean 2026 design
   ========================================================================== */

/* kill old conflicting styles for this widget */
.epx-wa-fab .wa-widget-send-button { display: none; }

/* the FAB sits INSIDE __floating-btn (original spot: bottom 73px right 16px via theme) */
.epx-wa-fab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ---------- toggle button: clean green circle, modern flat ---------- */
.epx-wa-toggle {
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: #25d366;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .38);
  transition: transform .22s ease, box-shadow .22s ease;
  padding: 0;
}
.epx-wa-toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(37, 211, 102, .48);
}
.epx-wa-toggle:focus-visible {
  outline: 2px solid #128c7e;
  outline-offset: 3px;
}
.epx-wa-toggle .epx-wa-ico-wa {
  display: block;
  transition: opacity .18s ease, transform .25s ease;
}
.epx-wa-toggle .epx-wa-close {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  opacity: 0;
  transform: rotate(-90deg);
  transition: opacity .2s ease, transform .25s ease;
  pointer-events: none;
}
.epx-wa-fab.epx-wa-open .epx-wa-toggle .epx-wa-ico-wa {
  opacity: 0;
  transform: rotate(90deg) scale(.5);
}
.epx-wa-fab.epx-wa-open .epx-wa-toggle .epx-wa-close {
  opacity: 1;
  transform: rotate(0);
}
@media (prefers-reduced-motion: no-preference) {
  .epx-wa-fab:not(.epx-wa-open) .epx-wa-toggle::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .4);
    animation: epxWaPulse 2.6s ease-out infinite;
    pointer-events: none;
  }
}

/* ---------- panel: one clean chat card ABOVE the button ---------- */
.epx-wa-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: 300px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(22, 24, 29, .18), 0 4px 14px rgba(22, 24, 29, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .22s ease, transform .28s cubic-bezier(.34,1.4,.64,1), visibility .22s ease;
  z-index: 1050;
}
.epx-wa-fab.epx-wa-open .epx-wa-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* head */
.epx-wa-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #075e54, #128c7e);
  padding: 14px 16px;
  color: #fff;
}
.epx-wa-panel-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  flex: 0 0 auto;
}
.epx-wa-panel-info {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.epx-wa-panel-info strong {
  font-size: 14.5px;
  font-weight: 700;
}
.epx-wa-panel-info span {
  font-size: 11.5px;
  color: #b7e4df;
  display: flex;
  align-items: center;
  gap: 5px;
}
.epx-wa-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: epxDot 1.6s ease-in-out infinite;
}
@keyframes epxDot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* body */
.epx-wa-panel-body {
  padding: 12px;
  background: #f0f2f5;
}
.epx-wa-bot-msg {
  background: #fff;
  border-radius: 4px 12px 12px 12px;
  padding: 10px 13px;
  font-size: 13px;
  color: #16181d;
  width: fit-content;
  max-width: 90%;
  box-shadow: 0 2px 6px rgba(22, 24, 29, .06);
  margin-bottom: 10px;
}
.epx-wa-fab.epx-wa-open .epx-wa-bot-msg {
  animation: epxBotMsg .3s ease .15s both;
}
@keyframes epxBotMsg {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.epx-wa-typing {
  background: #fff;
  border-radius: 4px 12px 12px 12px;
  padding: 10px 13px;
  width: fit-content;
  margin-bottom: 10px;
  display: none;
}
.epx-wa-fab.epx-wa-open.epx-wa-typing .epx-wa-typing {
  display: flex;
  gap: 4px;
}
.epx-wa-fab.epx-wa-open.epx-wa-typing .epx-wa-bot-msg { display: none; }
.epx-wa-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa0a6;
  animation: epxTypeDot 1.2s ease-in-out infinite;
}
.epx-wa-typing span:nth-child(2) { animation-delay: .15s; }
.epx-wa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes epxTypeDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* menu chips */
.epx-wa-fab .epx-wa-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.epx-wa-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid #e4ece8;
  border-radius: 999px;
  padding: 8px 14px 8px 9px;
  font-size: 13px;
  font-weight: 600;
  color: #16181d;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .25s ease, background .2s ease, border-color .2s ease;
}
.epx-wa-fab.epx-wa-open .epx-wa-item { opacity: 1; transform: translateY(0); }
.epx-wa-fab.epx-wa-open .epx-wa-item:nth-child(1) { transition-delay: .20s; }
.epx-wa-fab.epx-wa-open .epx-wa-item:nth-child(2) { transition-delay: .26s; }
.epx-wa-fab.epx-wa-open .epx-wa-item:nth-child(3) { transition-delay: .32s; }
.epx-wa-fab.epx-wa-open .epx-wa-item:nth-child(4) { transition-delay: .38s; }
.epx-wa-fab.epx-wa-open .epx-wa-item:nth-child(5) { transition-delay: .44s; }
.epx-wa-item:hover { background: #e8f9f0; border-color: #25d366; }
.epx-wa-item:focus-visible { outline: 2px solid #25d366; outline-offset: 2px; }
.epx-wa-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f9f0;
  font-size: 14px;
  flex: 0 0 auto;
}

/* ---------- scroll-top: small, below WA, original theme spot ---------- */
.epx-float .btn-scroll-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(22, 24, 29, .14);
}

/* mobile */
@media (max-width: 767px) {
  .epx-wa-toggle { width: 56px; height: 56px; }
  .epx-wa-panel { width: min(320px, calc(100vw - 40px)); }
}

/* ==========================================================================
   ROUND 11 â€” WhatsApp button: RED brand theme, smaller, auto-close
   ========================================================================== */

/* toggle: brand red, slightly smaller (48px) */
.epx-wa-fab .epx-wa-toggle {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f00505, #c40404);
  box-shadow: 0 4px 14px rgba(240, 5, 5, .38);
}
.epx-wa-fab .epx-wa-toggle:hover {
  box-shadow: 0 8px 22px rgba(240, 5, 5, .48);
}
.epx-wa-fab .epx-wa-toggle:focus-visible {
  outline-color: #c40404;
}
@media (max-width: 767px) {
  .epx-wa-fab .epx-wa-toggle { width: 50px; height: 50px; }
  .epx-wa-fab .epx-wa-toggle .epx-wa-ico-wa { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .epx-wa-fab:not(.epx-wa-open) .epx-wa-toggle::after {
    border-color: rgba(240, 5, 5, .35);
  }
}

/* panel head: red gradient (brand) */
.epx-wa-fab .epx-wa-panel-head {
  background: linear-gradient(135deg, #f00505, #c40404);
}
.epx-wa-fab .epx-wa-panel-info span {
  color: #ffd6d6;
}
.epx-wa-fab .epx-wa-dot {
  background: #7bff9a;
  box-shadow: 0 0 6px #7bff9a;
}

/* panel avatar: white wa icon on translucent red */
.epx-wa-fab .epx-wa-panel-avatar {
  background: rgba(255, 255, 255, .22);
}

/* item icons: red-tinted circles */
.epx-wa-fab .epx-wa-ico {
  background: #fdecec;
  color: #f00505;
}
.epx-wa-fab .epx-wa-item:hover {
  background: #fff5f5;
  border-color: #f00505;
}
.epx-wa-fab .epx-wa-item:hover .epx-wa-ico {
  background: #f00505;
  color: #fff;
}
.epx-wa-fab .epx-wa-item:focus-visible {
  outline-color: #f00505;
}

/* auto-close countdown: thin progress line at panel bottom (visual cue) */
.epx-wa-fab .epx-wa-panel::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(240, 5, 5, .35);
  transform-origin: left;
  opacity: 0;
}
.epx-wa-fab.epx-wa-open .epx-wa-panel::after {
  animation: epxWaCountdown 5s linear forwards;
}
@keyframes epxWaCountdown {
  0% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0); opacity: 1; }
}


/* ==========================================================================
   DISCOUNT BADGE â€” colors ONLY. Position/padding/overflow untouched (theme owns it).
   ========================================================================== */
.for-discount-value {
  background: linear-gradient(135deg, #f00505, #c40404);
  color: #fff;
  box-shadow: 0 3px 10px rgba(240, 5, 5, .30);
}

/* ==========================================================================
   ROUND 15 â€” CLS prevention + accessibility
   ========================================================================== */

/* R15.1 Reserve space for common image patterns (prevents layout shift) */
.product-single-hover .inline_product a.rounded,
.envatx-product-card .flash-deals-background-image {
  aspect-ratio: 1 / 1;
}
.__cate-item .__img {
  aspect-ratio: 1 / 1;
}
.best-selleing-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.footer_banner_img {
  aspect-ratio: 1200 / 300;
  object-fit: cover;
}

/* R15.2 Skip-to-content link (visible on focus only) */
.epx-skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  z-index: 300000;
  background: var(--web-primary, #f00505);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top .2s ease;
}
.epx-skip-link:focus {
  top: 0;
}

/* R15.3 Main landmark target */
#epxMainContent:focus {
  outline: none;
}

/* ==========================================================================
   ROUND 16 â€” PRODUCT IMAGE RATIO FIX (all breakpoints, incl. desktop)
   Problem: theme img height:185px fixed + my 3:4 anchor => blank area on desktop.
   Fix: full-height chain so image fills the 3:4 box everywhere.
   ========================================================================== */

/* 1. inline_product: stack children vertically (discount row, then image) */
.product-single-hover .inline_product {
  flex-direction: column;
  align-items: stretch;
}

/* 2. image wrapper (.d-flex.pb-0 in style--card): full width */
.product-single-hover .inline_product > .d-flex.pb-0,
.product-single-hover .inline_product > div:nth-child(2) {
  width: 100%;
}

/* 3. the anchor: block + full width (aspect-ratio already set in R15) */
.product-single-hover .inline_product a.rounded,
.product-single-hover .inline_product a.w-100 {
  display: block;
  width: 100%;
  height: 100%;
}

/* 4. THE KEY FIX: image fills its anchor (no fixed 185px) */
.product-single-hover .inline_product img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
/* style--card variant img (no fixed height there, but ensure same) */
.product-single-hover.style--card .inline_product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 5. Give the anchor a definite height via aspect-ratio (R15 set 3/4; make explicit) */
.product-single-hover .inline_product a.rounded,
.product-single-hover .inline_product a.w-100 {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* 6. quick-view overlay + discount badge: unchanged positioning (z-index safety) */
.product-single-hover .inline_product .quick-view {
  z-index: 3;
}
.for-discount-value {
  z-index: 4;
}

/* 7. Recommended Product card: same ratio (it uses _feature-product too) */
.epx3-grid--single .product-single-hover .inline_product a.rounded,
.epx3-grid--single .product-single-hover .inline_product a.w-100 {
  aspect-ratio: 1 / 1;
}

/* ==========================================================================
   ROUND 18 â€” PRODUCT PAGE VISUAL POLISH
   ========================================================================== */

/* ---------- P1. PRICE BLOCK: big bold sale price + save pill ---------- */
.product-single-hover .flash-product-price,
.product-details .flash-product-price {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: var(--web-primary, #f00505) !important;
}
.product-details .category-single-product-price,
.product-single-hover del.category-single-product-price {
  font-size: 1rem !important;
  color: #9aa0a6 !important;
}
/* discount badge on product page: bigger "SAVE" pill */
.product-details .for-discount-value {
  font-size: 13px !important;
  padding: 5px 12px !important;
}

/* ---------- P3. GALLERY: main image rounded + thumb active red border ---------- */
.quickviewSlider2 {
  border-radius: 16px !important;
  overflow: hidden;
}
.quickviewSliderThumb2 .swiper-slide {
  border-radius: 10px !important;
  cursor: pointer;
  transition: border-color .2s ease, opacity .2s ease !important;
  opacity: .75;
}
.quickviewSliderThumb2 .swiper-slide:hover {
  opacity: 1;
}
.quickviewSliderThumb2 .swiper-slide.active-border,
.quickviewSliderThumb2 .swiper-slide-thumb-active {
  opacity: 1 !important;
  border-color: var(--web-primary, #f00505) !important;
  border-width: 2px !important;
}

/* ---------- P4. PRODUCT NAME (now H1): styled ---------- */
.product-details h1.__inline-24,
h1.__inline-24 {
  font-size: clamp(1.3rem, 3vw, 1.8rem) !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: var(--epx3-ink, #16181d);
}

/* ---------- P5. TABS: modern pill tabs ---------- */
.nav--tabs {
  gap: 8px !important;
  border-bottom: 2px solid var(--epx3-line, #ececec) !important;
  padding-bottom: 0 !important;
}
.nav--tabs .nav-link {
  border: none !important;
  border-radius: 10px 10px 0 0 !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  color: #5f6368 !important;
  position: relative;
  transition: color .2s ease, background .2s ease !important;
}
.nav--tabs .nav-link:hover {
  color: var(--web-primary, #f00505) !important;
  background: rgba(240, 5, 5, .04) !important;
}
.nav--tabs .nav-link.active {
  color: var(--web-primary, #f00505) !important;
  background: transparent !important;
}
.nav--tabs .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #f00505, #ff6b6b);
}

/* ---------- P6. SHARE BUTTONS: cleaner circles ---------- */
.share_btn {
  transition: transform .22s ease, box-shadow .22s ease !important;
}
.share_btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 14px rgba(22, 24, 29, .18) !important;
}

/* ---------- P7. STICKY CTA (mobile bottom bar): shadow + safe-area ---------- */
.envatx-sticky-product-cta {
  box-shadow: 0 -6px 24px rgba(22, 24, 29, .10) !important;
}
@media (max-width: 767px) {
  .envatx-sticky-product-add-to-cart {
    min-height: 48px;
  }
}

/* ---------- P8. WISHLIST BUTTON: heart pop on hover ---------- */
.product-details [class*="wishlist"] button,
.product-details .wishlist-btn {
  transition: transform .2s ease, color .2s ease !important;
}
.product-details [class*="wishlist"] button:hover {
  transform: scale(1.12) !important;
  color: #f00505 !important;
}

/* ---------- P9. SELLER/RELATED product cards: consistent with home ---------- */
.product-details .product-single-hover {
  border-radius: 12px;
}
.product-details .product-single-hover .inline_product img {
  aspect-ratio: 1 / 1;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}
.product-details .product-single-hover .inline_product a.rounded,
.product-details .product-single-hover .inline_product a.w-100 {
  aspect-ratio: 1 / 1;
  display: block;
  width: 100%;
  overflow: hidden;
}

/* ---------- P10. META INFO (author/publisher): subtle cards ---------- */
.product-details .productAuthorsInfo,
.product-details .productPublishingHouseInfo {
  background: #f7f7f8;
  border-radius: 10px;
  padding: 10px 14px;
}

/* R19: listing page H1 - visually similar to old h5 but semantic */
.epx-listing-h1 {
  font-size: 16px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}
@media (min-width: 768px) {
  .epx-listing-h1 { font-size: 18px !important; }
}


/* ==========================================================================
   ROUND 21 â€” CHECKOUT FLOW MODERNIZATION (billing/shipping/payment)
   Pure additive: styles existing .checkout_details markup. No logic changes.
   ========================================================================== */

/* ---------- C1. PAGE BACKGROUND: clean soft grey ---------- */
body:has(.checkout_details) {
  background: #f6f7f9;
}

/* ---------- C2. CARDS: white, rounded, soft shadow ---------- */
.checkout_details .card,
.checkout_details .card.__card {
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 12px rgba(22, 24, 29, .06) !important;
  overflow: hidden;
}
.checkout_details .card-body {
  padding: 20px !important;
}
@media (min-width: 768px) {
  .checkout_details .card-body { padding: 24px !important; }
}

/* ---------- C3. SECTION HEADINGS inside checkout: red accent ---------- */
.checkout_details h4,
.checkout_details h5 {
  font-weight: 700 !important;
  position: relative;
  padding-left: 14px;
}
.checkout_details h4::before,
.checkout_details h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  border-radius: 4px;
  background: linear-gradient(180deg, #f00505, #ff6b6b);
}

/* ---------- C4. FORM FIELDS: modern inputs ---------- */
.checkout_details .form-control,
.checkout_details .form-select,
.checkout_details input[type="text"],
.checkout_details input[type="email"],
.checkout_details input[type="tel"],
.checkout_details input[type="password"],
.checkout_details input[type="number"],
.checkout_details textarea,
.checkout_details select {
  border: 1.5px solid #e4e6ea !important;
  border-radius: 10px !important;
  padding: 11px 14px !important;
  font-size: 14.5px !important;
  background: #fafbfc !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
  min-height: 46px;
}
.checkout_details .form-control:focus,
.checkout_details .form-select:focus,
.checkout_details input:focus,
.checkout_details textarea:focus,
.checkout_details select:focus {
  border-color: var(--web-primary, #f00505) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(240, 5, 5, .08) !important;
  outline: none !important;
}
.checkout_details label {
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #3c4043 !important;
  margin-bottom: 6px !important;
}

/* ---------- C5. PAYMENT METHOD CARDS: selectable tiles ---------- */
.checkout_details .cod-for-cart .card,
.checkout_details .w-100.h-100 > .card {
  border: 2px solid #e4e6ea !important;
  border-radius: 14px !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
  cursor: pointer;
}
.checkout_details .cod-for-cart .card:hover,
.checkout_details .w-100.h-100 > .card:hover {
  border-color: rgba(240, 5, 5, .40) !important;
  background: #fffafa !important;
}
.checkout_details .cod-for-cart .card.border-primary,
.checkout_details .w-100.h-100 > .card.border-primary {
  border-color: var(--web-primary, #f00505) !important;
  background: #fffafa !important;
  box-shadow: 0 4px 14px rgba(240, 5, 5, .12) !important;
}
/* payment gateway logos: consistent size */
.checkout_details .cod-for-cart img {
  max-height: 34px;
  object-fit: contain;
}

/* ---------- C6. CHECKOUT BUTTONS: full-width primary ---------- */
.checkout_details .btn--primary,
.checkout_details .btn-primary {
  background: linear-gradient(135deg, #f00505, #c40404) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 13px 28px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(240, 5, 5, .25) !important;
  transition: transform .22s ease, box-shadow .22s ease !important;
  min-height: 48px;
}
.checkout_details .btn--primary:hover,
.checkout_details .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 26px rgba(240, 5, 5, .35) !important;
}
.checkout_details .btn-secondary {
  border-radius: 12px !important;
  font-weight: 600 !important;
  min-height: 48px;
}

/* ---------- C7. ORDER SUMMARY (right column): sticky + styled ---------- */
.checkout_details .order-summary,
.checkout_details [class*="order"] .card {
  position: sticky;
  top: 90px;
}

/* ---------- C8. LOGIN PROMPT (checkout-details page): friendlier ---------- */
.checkout_details form.needs-validation {
  background: #fff;
}

/* ---------- C9. RADIO/CHECKBOX: brand color ---------- */
.checkout_details .form-check-input:checked {
  background-color: var(--web-primary, #f00505) !important;
  border-color: var(--web-primary, #f00505) !important;
}
.checkout_details .form-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ---------- C10. STEPS INDICATOR (if enabled): modern pills ---------- */
.checkout_details .checkout-steps .step-item {
  font-size: 13px !important;
}
.checkout_details .checkout-steps .step-item.active.current {
  color: var(--web-primary, #f00505) !important;
}

/* ---------- C11. MOBILE: cards stack tight ---------- */
@media (max-width: 767px) {
  .checkout_details .card-body { padding: 16px !important; }
  .checkout_details .btn--primary,
  .checkout_details .btn-primary,
  .checkout_details .btn-secondary {
    width: 100% !important;
  }
}

/* ==========================================================================
   ROUND 22 â€” CHECKOUT FIX: bootstrap-select (country/zip dropdowns) compatibility
   My C4 styling broke selectpicker rendering. Exclude selectpicker elements.
   ========================================================================== */

/* 1. Neutralize my C4 styles on bootstrap-select components */
.checkout_details .bootstrap-select .form-control,
.checkout_details .bootstrap-select > button,
.checkout_details .bootstrap-select .dropdown-toggle,
.checkout_details select.selectpicker {
  min-height: 0 !important;
  height: auto !important;
  padding: revert !important;
  border-radius: 6px !important;
}

/* 2. The selectpicker BUTTON (visible dropdown trigger): proper modern styling */
.checkout_details .bootstrap-select > .dropdown-toggle {
  border: 1.5px solid #e4e6ea !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 14.5px !important;
  background: #fafbfc !important;
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}
.checkout_details .bootstrap-select > .dropdown-toggle:focus,
.checkout_details .bootstrap-select > .dropdown-toggle:active {
  border-color: var(--web-primary, #f00505) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(240, 5, 5, .08) !important;
  outline: none !important;
}

/* 3. Dropdown menu: rounded + shadow + scrollable */
.checkout_details .bootstrap-select .dropdown-menu {
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(22, 24, 29, .14) !important;
  border: 1px solid #ececec !important;
  max-height: 320px !important;
}
.checkout_details .bootstrap-select .dropdown-menu li a,
.checkout_details .bootstrap-select .dropdown-item {
  padding: 9px 14px !important;
  font-size: 14px !important;
  transition: background .15s ease !important;
}
.checkout_details .bootstrap-select .dropdown-menu li a:hover,
.checkout_details .bootstrap-select .dropdown-item:hover,
.checkout_details .bootstrap-select .dropdown-menu li.selected a {
  background: rgba(240, 5, 5, .06) !important;
  color: var(--web-primary, #f00505) !important;
}

/* 4. Search box inside selectpicker dropdown */
.checkout_details .bootstrap-select .bs-searchbox input {
  border-radius: 8px !important;
  border: 1.5px solid #e4e6ea !important;
  padding: 8px 12px !important;
}


/* ==========================================================================
   ROUND 24 â€” intl-tel-input FIX: flag/dial-code overlap
   Root cause: my checkout input padding (!important) overrides the plugin's
   padding-left that reserves space for flag+dial code => number overlaps code.
   ========================================================================== */

/* 1. intl-tel-input inputs: exclude from my generic input padding */
.checkout_details input[type="tel"].iti__input,
.checkout_details input[type="tel"].iti__input--active,
.checkout_details input[type="tel"][style*="padding-left"] {
  padding: revert-layer !important;
  padding-left: revert-layer !important;
  min-height: 0 !important;
}
/* fallback for browsers without revert-layer: let plugin own padding */
.checkout_details input[type="tel"].iti__input {
  padding-left: 90px !important;
  padding-right: 14px !important;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
}

/* 2. Ensure the flag container doesn't get clipped by my card overflow rules */
.checkout_details .iti {
  position: relative !important;
  display: block !important;
}
.checkout_details .iti__flag-container {
  z-index: 5 !important;
}

/* 3. Input styling for iti inputs (border/radius consistent, but padding owned by plugin) */
.checkout_details input[type="tel"].iti__input {
  border: 1.5px solid #e4e6ea !important;
  border-radius: 10px !important;
  background: #fafbfc !important;
  font-size: 14.5px !important;
  transition: border-color .2s ease, box-shadow .2s ease !important;
}
.checkout_details input[type="tel"].iti__input:focus {
  border-color: var(--web-primary, #f00505) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(240, 5, 5, .08) !important;
}

/* ROUND 25 CSS: ensure baseline padding before JS sync kicks in */
.checkout_details input[type="tel"].iti__input,
input[type="tel"].iti__input {
  padding-left: 90px !important; /* JS recalculates to exact width + 8px */
}
/* dial code text: prevent wrap/clip inside its container */
.iti__selected-dial-code {
  white-space: nowrap;
}
/* flag container: no pointer events on dial code text (clicks go to dropdown) */
.iti__selected-dial-code {
  pointer-events: none;
}

/* ==========================================================================
   ROUND 26 â€” PHONE: TWO SEPARATE BOXES (country code box + number box)
   Country flag+dial code = BOX 1 (own background, own border)
   Mobile number input = BOX 2 (separate)
   ========================================================================== */

/* the .iti wrapper: flex row, no gap tricks */
.checkout_details .iti,
.iti {
  display: flex !important;
  align-items: stretch;
}

/* BOX 1: country flag + dial code - distinct bordered box */
.checkout_details .iti__selected-country,
.iti__selected-country {
  background: #f1f3f5 !important;
  border: 1.5px solid #e4e6ea !important;
  border-right: 1.5px solid #e4e6ea !important;
  border-radius: 10px 0 0 10px !important;
  min-height: 46px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 10px !important;
  gap: 6px;
}
/* dial code text: bold, dark */
.checkout_details .iti__selected-dial-code,
.iti__selected-dial-code {
  color: #3c4043 !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
}
/* flag icon size */
.checkout_details .iti__flag,
.iti__flag {
  margin-right: 2px;
}

/* BOX 2: number input - separate box (left corners square, right rounded) */
.checkout_details input[type="tel"].iti__input,
input[type="tel"].iti__input {
  border: 1.5px solid #e4e6ea !important;
  border-left: none !important;
  border-radius: 0 10px 10px 0 !important;
  background: #fff !important;
  min-height: 46px !important;
  padding-left: 12px !important; /* JS sync will override with exact value + this becomes gap */
  font-size: 14.5px !important;
}
.checkout_details input[type="tel"].iti__input:focus,
input[type="tel"].iti__input:focus {
  border-color: var(--web-primary, #f00505) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(240, 5, 5, .08) !important;
  z-index: 2;
}
/* focus: BOX 1 border also highlights (connected look) */
.checkout_details .iti:focus-within .iti__selected-country,
.iti:focus-within .iti__selected-country {
  border-color: var(--web-primary, #f00505) !important;
  background: #fff !important;
}

/* placeholder color */
input[type="tel"].iti__input::placeholder {
  color: #9aa0a6;
}

/* ==========================================================================
   ROUND 27 CSS â€” country code system removed: plain phone input
   ========================================================================== */

/* hide any leftover iti flag/code containers */
.checkout_details .iti__selected-country,
.checkout_details .iti__selected-dial-code,
.checkout_details .iti__flag-container {
  display: none !important;
}

/* phone input: full single box, consistent with other inputs */
.checkout_details input[name="billing_phone"],
.checkout_details input[name="phone"],
.checkout_details input#billing_phone,
.checkout_details input#su-phone {
  border: 1.5px solid #e4e6ea !important;
  border-radius: 10px !important;
  background: #fafbfc !important;
  padding: 11px 14px !important;
  min-height: 46px !important;
  font-size: 14.5px !important;
  width: 100% !important;
}
.checkout_details input[name="billing_phone"]:focus,
.checkout_details input[name="phone"]:focus,
.checkout_details input#billing_phone:focus,
.checkout_details input#su-phone:focus {
  border-color: var(--web-primary, #f00505) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(240, 5, 5, .08) !important;
}
