/* All Products — shop layout only (apr-shop- prefix) */

.apr-shop-page {
  background: #fff;
}

.apr-shop-breadcrumb {
  padding-top: 80px;
  margin-top: 20px;
  background: #e8e8e8;
  padding-bottom: 10px;
  
}

.apr-shop-breadcrumb__nav {
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  font-family: poppins;
}

.apr-shop-breadcrumb__nav a {
  color: #7e7e7e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.apr-shop-breadcrumb__nav a:hover {
  color: #ff8a3d;
}

.apr-shop-breadcrumb__sep {
  margin: 0 10px;
  color: #555;
  font-weight: 400;
}

.apr-shop-breadcrumb__current {
  color: #050505;
}

.apr-shop-catalog {
  padding: 70px 0 64px;
  background: #fff;
}

.apr-shop-catalog__inner {
  max-width: 1140px;
}

.apr-shop-item {
  height: 100%;
}

.apr-shop-item__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.25s ease;
}

.apr-shop-item__link:hover {
  transform: translateY(-4px);
}

.apr-shop-item__link:hover .apr-shop-item__title {
  color: #ff8a3d;
}

.apr-shop-item__thumb {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  border: 3px solid #e8e8e8;
  box-shadow: 0 1px 18px #ff8a3d, 0 1px 6px #f472b6;
  background: #f4f4f4;
  margin-bottom: 14px;
  position: relative;
  isolation: isolate;
  transition: box-shadow 0.5s ease;
}

.apr-shop-item__thumb::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff8a3d, #f472b6, #60a5fa);
  z-index: -1;
  
  opacity: 0.32;
  transform: scale(0.99);
  filter: blur(4px);
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

.apr-shop-item__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid #fff;
  border-radius: 8px;
  pointer-events: none;
  transition: border-width 0.5s ease, box-shadow 0.5s ease;
}

.apr-shop-item__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.apr-shop-item__img--main {
  opacity: 1;
  transform: scale(1);
}

.apr-shop-item__img--hover {
  opacity: 0;
  transform: scale(1.12);
}

.apr-shop-item__link:hover .apr-shop-item__img--main {
  opacity: 0;
  transform: scale(1.12);
}

.apr-shop-item__link:hover .apr-shop-item__img--hover {
  opacity: 1;
  transform: scale(1);
}

.apr-shop-item__link:hover .apr-shop-item__thumb {
  box-shadow: 0 14px 32px rgba(244, 114, 182, 0.22), 0 10px 24px rgba(96, 165, 250, 0.2);
}

.apr-shop-item__link:hover .apr-shop-item__thumb::before {
  opacity: 1;
  transform: scale(1.03);
  filter: blur(11px);
}

.apr-shop-item__link:hover .apr-shop-item__thumb::after {
  border-width: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

@media (hover: none) {
  .apr-shop-item__img--hover {
    opacity: 0 !important;
    transform: scale(1.12) !important;
  }
  .apr-shop-item__img--main {
    opacity: 1 !important;
    transform: scale(1) !important;
  }
}

.apr-shop-item__title {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  margin: 0;
  color: #111;
  line-height: 1.4;
  padding: 0 4px;
}

.apr-shop-search-note {
  text-align: center;
  font-size: 15px;
  color: #555;
  margin-bottom: 1.5rem;
  font-family: poppins, sans-serif;
}

.apr-shop-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #555;
  font-size: 16px;
}

.apr-shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 40px;
  padding-top: 8px;
}

.apr-shop-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.apr-shop-pagination__page:hover {
  background: #f3f3f3;
  color: #111;
}

.apr-shop-pagination__page.is-active {
  background: #ff8a3d;
  color: #fff;
  pointer-events: none;
}

.apr-shop-pagination__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  margin-left: 4px;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.apr-shop-pagination__next:hover {
  background: #f3f3f3;
}

.align-items-sm-center{
  margin-top: 40px;
}
/* Laravel default pagination (Bootstrap 5) */
.apr-shop-catalog .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  /* margin-top: 40px; */
  padding: 8px 0 0;
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}

.apr-shop-catalog .pagination .page-item .page-link {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  border: none;
  border-radius: 4px;
  background: transparent;
  padding: 0 10px;
}

.apr-shop-catalog .pagination .page-item.active .page-link {
  background: #ff8a3d;
  color: #fff;
  z-index: 0;
}
p.small.text-muted{
  margin: 0;
}

.apr-shop-catalog .pagination .page-item .page-link:hover {
  background: #f3f3f3;
  color: #111;
}

.apr-shop-catalog .pagination .page-item.active .page-link:hover {
  background: #dc2626;
  color: #fff;
}

.apr-shop-catalog .pagination .page-item.disabled .page-link {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 991px) {
  .apr-shop-breadcrumb {
    padding-top: 88px;
  }

  .apr-shop-catalog {
    padding: 36px 0 48px;
  }
}

@media (max-width: 767px) {
  .apr-shop-breadcrumb {
    padding-top: 80px;
    margin-top: 12px;
    padding-bottom: 14px;
  }

  .apr-shop-breadcrumb__nav {
    font-size: 14px;
  }

  .apr-shop-catalog {
    padding: 28px 0 40px;
  }

  .apr-shop-item__title {
    font-size: 14px;
  }

  .apr-shop-pagination {
    margin-top: 28px;
    gap: 6px 8px;
  }

  .apr-shop-pagination__page,
  .apr-shop-pagination__next {
    min-width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .apr-shop-catalog .pagination .page-item .page-link {
    min-width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  .apr-shop-breadcrumb__sep {
    margin: 0 6px;
  }
}
