.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.hidden {
  display: none;
}
.w-full {
  width: 100%;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.mr-3 {
  margin-right: 0.75rem;
}
.-mt-14 {
  margin-top: -3.5rem;
}

.flex-items-center {
  display: flex;
  align-items: center;
}

.flex-between-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Active Icons */
.dashicons.dashicons-screenoptions.active,
.dashicons.dashicons-menu-alt.active {
  color: var(--wp--preset--color--primary) !important;
}

.entry-content #dokan-seller-listing-wrap {
  margin-top: 3rem;
}

/* Store Wrapper Base Styles */
.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper {
  position: relative;
  /* Tailwind Shadow Defaults */
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* Store Header & Banner */
.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-header
  .store-banner
  a
  img {
  border-top-right-radius: 0.25rem;
  border-top-left-radius: 0.25rem;
}

/* Store Content */
.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content {
  position: relative;
  background-color: transparent;
}

/* Typography */
.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container
  h2 {
  margin: 0.5rem 0;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container
  h2
  a {
  color: rgb(0 0 0 / 1) !important;
  text-shadow: none;
  text-decoration: none;
}

.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container
  p {
  color: rgb(144 144 144 / 1);
}

/* Avatar */
.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .seller-avatar {
  position: relative;
  top: auto;
  right: auto;
}

.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .seller-avatar
  img {
  border-radius: 9999px;
  background-color: rgb(255 255 255 / 1);
  padding: 0.25rem;
  -webkit-box-shadow: 0 0 30px -12px #fafafa;
  box-shadow: 0 0 30px -12px #fafafa;
}

/* Store Footer */
.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-footer {
  display: flex !important;
  flex-direction: row !important;
  border-style: none !important;
  background-color: transparent !important;
  padding: 0.5rem 0 1.25rem 0 !important;
}

.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-footer
  i.dashicons {
  margin-right: 0.25rem;
  color: rgb(245 166 35 / 1);
}

/* Follow Button */
.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-footer
  .dokan-follow-store-button {
  position: relative !important;
  border-color: var(--wp--preset--color--primary) !important;
  background-color: transparent !important;
  padding: 0.75rem 1rem 0.75rem 2rem !important;
  color: var(--wp--preset--color--primary) !important;
}

.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-footer
  .dokan-follow-store-button
  span {
  margin-left: 0.5rem;
}

.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-footer
  .dokan-follow-store-button::after {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  /* Transform Logic */
  --tw-translate-y: -50%;
  --tw-translate-x: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  -webkit-transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  font-family: dashicons;
  content: "\f110";
}

/* Badges & Status */
.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .dokan-store-is-open-status,
.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .dokan-store-is-closed-status {
  z-index: 2;
  border-radius: 0.25rem;
  color: rgb(255 255 255 / 1);
}

.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .featured-favourite {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
}

.entry-content
  #dokan-seller-listing-wrap
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .featured-favourite
  .featured-label {
  border-radius: 0.25rem;
  background-color: var(--wp--preset--color--primary);
  padding: 0 10px;
  color: rgb(255 255 255 / 1);
}

/* Background Shapes */
.store-listing-bg-shape {
  position: absolute;
  bottom: -76px;
  left: 0;
  width: 100%;
  z-index: 2;
}

.entry-content #dokan-seller-listing-wrap.list-view ul.dokan-seller-wrap li {
  width: 100% !important;
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper {
  align-items: flex-start;
  border-width: 1px;
  border-color: rgb(221 221 221 / 0.42);
  /* Reset Shadow for List View */
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-header {
  flex-basis: 30%;
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-header
  .store-banner {
  min-height: 228px !important;
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-header
  .store-banner
  a
  img {
  border-radius: 0;
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content {
  margin-top: 0px !important;
  padding: 1.25rem !important;
  flex-basis: 70%;
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container {
  border-style: none;
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container
  .seller-avatar {
  position: absolute;
  top: 1.75rem;
  left: -2.5rem;
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container
  .store-address {
  display: block;
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container
  .store-address::before {
  display: none;
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container
  .store-phone {
  display: flex !important;
  align-items: center;
  margin-bottom: 5px !important;
  color: #000000 !important;
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container
  .data-footer-wrapper {
  display: flex;
  flex-direction: column-reverse;
}

.entry-content
  #dokan-seller-listing-wrap.list-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container
  .data-footer-wrapper
  .store-footer {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

.entry-content #dokan-seller-listing-wrap.list-view .store-listing-bg-shape {
  display: none;
}

.entry-content
  #dokan-seller-listing-wrap.grid-view
  ul.dokan-seller-wrap
  li
  .store-wrapper {
  border-top-right-radius: 0.25rem;
  border-top-left-radius: 0.25rem;
  border-width: 1px;
  border-color: rgb(221 221 221 / 0.42);
}

.entry-content
  #dokan-seller-listing-wrap.grid-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container {
  padding-top: 0px;
  padding-bottom: 0px;
}

.entry-content
  #dokan-seller-listing-wrap.grid-view
  ul.dokan-seller-wrap
  li
  .store-wrapper
  .store-content
  .store-data-container
  .store-address {
  display: none;
}

/* No Banner Image Variation */
.entry-content
  #dokan-seller-listing-wrap.grid-view
  ul.dokan-seller-wrap
  li.no-banner-img
  .store-wrapper {
  -webkit-box-shadow: 0 0 25px 0 #ddd;
  box-shadow: 0 0 25px 0 #ddd;
  border-style: none;
}

.entry-content
  #dokan-seller-listing-wrap.grid-view
  ul.dokan-seller-wrap
  li.no-banner-img
  .store-wrapper
  .store-content
  .store-data-container {
  border-style: none;
}

.store-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 5px !important;
}

.profile-info-summery a {
  text-decoration: none;
}

.profile-info-box.profile-layout-layout1
  .profile-info-summery-wrapper
  .profile-info-summery
  .profile-info
  .dokan-store-address,
.profile-info-box.profile-layout-layout3
  .profile-info-summery-wrapper
  .profile-info-summery
  .profile-info
  .dokan-store-address {
  color: rgb(61 86 110 / 1);
}

/* Common pagination container styles */
.pagination,
.woocommerce-pagination,
#dokan-content .dokan-pagination-container ul.dokan-pagination,
.pagination ul,
.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
}

.pagination,
.woocommerce-pagination {
  margin-top: 1.25rem;
}

.pagination ul li,
.woocommerce-pagination ul li {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

/* Unified Pagination Link Styles */
#dokan-content .dokan-pagination-container ul.dokan-pagination li a,
.pagination ul li span,
.pagination ul li a,
.woocommerce-pagination ul li span,
.woocommerce-pagination ul li a {
  display: inline-block; /* Aligned with docan pagination */
  border-radius: 0.25rem;
  background-color: rgb(40 115 245 / 0.2);
  color: rgb(255 255 255 / 1);
  font-size: 0.875rem;

  /* Transition Optimization */
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
    backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Dokan specific sizing */
#dokan-content .dokan-pagination-container ul.dokan-pagination li a {
  padding: 0.5rem 0.75rem;
  line-height: 1.25rem;
}

/* General/Woo specific sizing */
.pagination ul li span,
.pagination ul li a,
.woocommerce-pagination ul li span,
.woocommerce-pagination ul li a {
  height: 2.5rem;
  width: 2.5rem;
  text-align: center;
  line-height: 2.5rem;
}

/* Hover States */
#dokan-content .dokan-pagination-container ul.dokan-pagination li a:hover,
#dokan-content .dokan-pagination-container ul.dokan-pagination li.active a,
.pagination ul li span:hover,
.pagination ul li a:hover,
.woocommerce-pagination ul li span:hover,
.woocommerce-pagination ul li a:hover,
.pagination ul li span.current,
.woocommerce-pagination ul li span.current {
  background-color: var(--wp--preset--color--primary);
}

/* Pagination Arrows Alignment */
.pagination ul li span.next,
.pagination ul li span.prev,
.pagination ul li a.next,
.pagination ul li a.prev,
.woocommerce-pagination ul li span.next,
.woocommerce-pagination ul li span.prev,
.woocommerce-pagination ul li a.next,
.woocommerce-pagination ul li a.prev {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  #dokan-seller-listing-wrap.list-view
    ul.dokan-seller-wrap
    li
    .store-wrapper
    .store-header {
    flex-basis: 30% !important;
  }

  #dokan-seller-listing-wrap.list-view
    ul.dokan-seller-wrap
    li
    .store-wrapper
    .store-content {
    flex-basis: 70% !important;
    padding-left: 7% !important;
  }

  #dokan-store-listing-filter-wrap .left {
    margin-bottom: 0.75rem;
    width: 100%;
    text-align: center;
  }

  #dokan-store-listing-filter-wrap .right {
    width: 100%;
    justify-content: center;
  }
}
