:root {
  --border-color: #e5e7eb;
  --muted-foreground: #6b7280;
}

button,
input[type="submit"],
input[type="reset"] {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.thumbnail-container {
  width: 100%;
  height: 100%;
  background-color: #eee;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.group:hover .group-hover\:hidden {
  display: none;
}

.group:hover .group-hover\:flex {
  display: flex;
}

.hover-thumbnail {
  display: flex;
}

.hover-thumbnail-hidden {
  display: none;
  transition: all;
  animation: fade 1s ease-out;
}

.placeholder-img {
  object-fit: cover !important;
}

.video-slide {
  background-color: #fff;
}

.video-player-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.video-detail {
  display: flex;
  justify-content: start;
  align-items: center;
  column-gap: 0.5rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.video-img {
  width: 3rem;
  height: 3rem;
}

.video-text {
  margin: 0 !important;
}

.shadow-md {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  background-color: rgba(256, 256, 256, 0.3);
  border-radius: 50%;
  width: 1.75rem;
  height: 1.75rem;
  z-index: 9999;
}

.modal-close-icon {
  width: 0.8rem;
  height: 0.8rem;
}

.swiper-pagination {
  bottom: 10px !important;
}

.swiper-pagination-bullet {
  background: black !important;
}

.swiper-pagination-bullet-active {
  background: black !important;
}

.swiper-video-height {
  min-height: 300px;
}

.product-detail-title {
  text-align: start !important;
  font-size: clamp(1rem, 0.7889rem + 0.6757vw, 1.625rem) !important;
}

.order-list-cell {
  display: table-cell !important;
  min-width: 150px !important;
  width: 100% !important;
}

.footer-embed-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-page-fill {
  min-height: 100vh;
  height: 100%;
}

.empty-cart-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 2rem 0rem;
}

.empty-cart-icon {
  width: 9rem;
  height: 9rem;
}
.w3w-label {
  display: flex;
  align-items: center;
  color: #777777;
  margin-bottom: 0.5rem !important;
}

.w3w-label > img {
  width: 1.75rem;
  height: 1.75rem;
}

.w3w-input-custom {
  font-size: 14px !important;
  padding: 0 10px !important;
  border: 1px solid #dddddd;
  font-weight: 400 !important;
  color: #212529 !important;
}

.btn-guest {
  background-color: #6c757d;
  display: inline-block;
  width: 100%;
  max-width: 320px;
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  line-height: 20px;
}

.guest-info {
  background-color: #e5e7eb;
  text-align: justify;
  color: #000;
  padding: 1rem;
}

.preorder-card {
  display: flex;
  padding: 0.5rem 1rem;
  border: 1px solid #000;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.preorder-item {
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  align-items: center;
  width: 100%;
  display: flex;
}

.preorder-heading {
  color: rgb(75 85 99);
  font-size: 13px;
  line-height: 15.6px;
}

.preorder-text {
  display: flex;
  align-items: start;
  flex-direction: column;
}

.preorder-info {
  font-weight: 600;
  font-size: 1rem; /* 16px */
  line-height: 1.5rem; /* 24px */
}

.preorder-badge-wrapper {
  width: 100%;
  display: flex;
  justify-content: start;
}

.preorder-badge {
  color: rgb(2 132 199);
  padding: 0.25rem;
  background-color: rgb(224 242 254);
  border-color: rgb(2 132 199);
  border-width: 1px;
  border-radius: 9999px;
  column-gap: 0.375rem;
  justify-content: center;
  align-items: center;
  width: 10rem;
  display: inline-flex;
}

.preorder-badge-icon {
  stroke-width: 1;
  width: 2rem;
}

.preorder-badge-text {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.25rem;
}

.preorder-prodcut-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
}

.sale-badge {
  position: absolute;
  background-color: #ef4444;
  z-index: 2;
  font-size: 0.85rem;
  color: #ffffff;
  top: 0.5rem;
  left: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.preorder-prodcut-badge-sale {
  color: rgb(2 132 199);
  padding: 0.25rem;
  background-color: rgb(224 242 254);
  border-radius: 0.5rem;
  top: 1.75rem;
  right: -2.75rem;
  z-index: 10;
  position: absolute;
}

.preorder-flag-badge {
  width: 1.75rem;
  margin-left: 0.5rem;
}

.select-styles {
  display: flex;
  height: 2.25rem;
  align-items: center;
  justify-content: space-between;
  background-color: #fff !important;
  color: #000;
  white-space: nowrap;
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.25rem;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.select-styles::placeholder {
  color: var(--muted-foreground);
}

.select-styles:focus {
  outline: none;
}

.select-styles:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.select-styles > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  gap: 0.5rem;
}

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

.page-link {
  padding: 0.5rem 0.75rem;
  border: 1px solid #dee2e6;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
}

.page-link:hover {
  background-color: #e9ecef;
  border-color: #dee2e6;
  color: #0056b3;
}

.page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
}

.page-item.disabled .page-link {
  pointer-events: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
  color: #6c757d;
  opacity: 0.65;
}

.page-link {
  transition: all 0.15s ease-in-out;
}

.empty-products-icon {
  width: 4.5rem;
  height: 4.5rem;
  stroke-width: 1px;
}

.products-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding-inline: 0.5rem;
  padding-bottom: 1rem;
}

@keyframes loading-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: loading-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.bg-gray-200 {
  background-color: #e5e7eb;
}

.aspect-square {
  aspect-ratio: 1/1;
}

.h-48 {
  height: 12rem;
}

.h-4 {
  height: 1rem;
}

.h-3 {
  height: 0.75rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .select-styles {
    height: 2.25rem;
    padding: 0.5rem 0.75rem;
  }

  .products-header-wrapper {
    gap: 1rem;
    padding-inline: 2rem;
    padding-bottom: 1rem;
  }
}

@media (min-width: 768px) {
  .featured-categories-section {
    padding: 0;
  }
}

.trending-title {
  text-align: center;
  margin-bottom: 2rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .categories-grid {
    gap: 2rem;
  }
}

.category-link {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  padding: 0.25rem;
  overflow: hidden;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  .category-link {
    padding: 1.5rem;
  }
}

.category-link:hover {
  transform: scale(1.05);
  opacity: 0.75;
}

.category-image-wrapper {
  position: absolute;
  inset: 0;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 66.666667%;
  background: linear-gradient(to top, rgba(17, 24, 39, 1), transparent);
  opacity: 0.6;
}

.category-name {
  position: relative;
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  color: white;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .category-name {
    font-size: 1rem;
    text-transform: uppercase;
  }
}
