input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

@keyframes fade-in {
  from {
      background-color: rgba(0, 0, 0, 0);
  }
  to {
      background-color: rgba(0, 0, 0, 0.8);
  }
}

@keyframes fade-out {
  from {
      background-color: rgba(0, 0, 0, 0.8);
  }
  to {
      background-color: rgba(0, 0, 0, 0);
  }
}

@keyframes slide-in {
  from {
      transform: translateX(500px);
  }
  to {
      transform: translateX(0px);
  }
}

@keyframes slide-out {
  from {
    transform: translateX(0px);
  }
  to {
    transform: translateX(500px);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.animate-shimmer {
  animation: shimmer 2s infinite;
}


#cart-drawer[data-state="open"] {
  animation: fade-in 0.4s forwards;
}

body.cart-open,
body.dialog-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

#cart-drawer[data-state="closed"] {
  animation: fade-out 0.4s forwards;
}

#cart-drawer[data-state="open"] > div {
  animation: slide-in 0.4s forwards;
}

#cart-drawer[data-state="closed"] > div {
  animation: slide-out 0.4s forwards;
}

.dialog[data-state="open"] {
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  animation: fade-in 0.4s forwards;
}

.dialog[data-state="closed"] {
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  animation: fade-out 0.4s forwards;
}

.dialog[data-state="open"] > div {
  animation: dialog-in 0.15s forwards;
}

.dialog[data-state="closed"] > div {
  animation: dialog-out 0.15s forwards;
}

@keyframes dialog-in {
  from {
      opacity: 0;
      transform: translateY(-24px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes dialog-out {
  from {
      opacity: 1;
      transform: translateY(0);
  }
  to {
      opacity: 0;
      transform: translateY(-24px);
  }
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.centralcart-content iframe {
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  width: 100%;
  height: auto;
}

@keyframes loading {
  0% {
      left: -50%;
  }

  to {
      left: 100%;
  }
}

.detail-dash {
  background-image: linear-gradient(to right, rgb(var(--foreground) / 0.15) 50%, transparent 0%);
  background-position: center bottom;
  background-size: 16px;
  background-repeat: repeat-x;
  width: 100%;
  height: 1px;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: hsl(var(--primary));
  border-radius: 0.25rem;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Mega menu sidebar */
.mega-sidebar-item {
  border-left: 3px solid transparent;
  color: rgb(var(--muted-foreground));
}

.mega-sidebar-item:hover,
.mega-sidebar-item.mega-sidebar-active {
  background-color: rgb(var(--muted));
  color: rgb(var(--foreground));
  border-left-color: hsl(var(--primary));
}

.mega-sidebar-item:hover .mega-sidebar-chevron,
.mega-sidebar-item.mega-sidebar-active .mega-sidebar-chevron {
  opacity: 1;
}

.mega-content-panel {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mega-content-panel.mega-panel-active {
  opacity: 1;
  visibility: visible;
}

.faq-item .faq-content {
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:not([open]) .faq-content {
  height: 0;
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
  content: '';
}

/* Product card */
.product-card {
  border: 1px solid rgb(var(--border));
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.04), 0 1px 2px rgb(0 0 0 / 0.02);
}
.product-card:hover {
  border-color: rgb(var(--foreground) / 0.2);
}

/* Shark Conect adapters. The original core.css above is preserved; this layer only
   bridges PHP-rendered data and disables platform-specific assumptions safely. */
.shark-premium-body .reveal-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.shark-premium-body .centralcart-content img {
  max-width: 100%;
  border-radius: .5rem;
}

.shark-premium-body .centralcart-content {
  color: rgb(var(--foreground));
  line-height: 1.7;
}

.shark-premium-body .centralcart-content p,
.shark-premium-body .centralcart-content ul,
.shark-premium-body .centralcart-content ol {
  margin-bottom: .9rem;
}

.shark-premium-body .centralcart-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

.shark-premium-body .product-card img {
  min-height: 0;
}

.shark-premium-body [data-state="open"] {
  pointer-events: auto;
}

.shark-premium-body [data-state="closed"] {
  pointer-events: none;
}

/* Raw brand mark: visible in the header/footer without card framing or store-name text. */
.shark-premium-body .react-header__brand,
.shark-premium-body .sp-header .sp-brand-mark {
  gap: 10px;
  padding-right: 0;
}

.shark-premium-body .react-header__brand-text,
.shark-premium-body .sp-header .sp-brand-mark > span:last-child {
  display: none !important;
}

.shark-premium-body .react-header__logo,
.shark-premium-body .sp-header .sp-brand-mark > span:first-child {
  position: relative;
  width: clamp(58px, 5.6vw, 72px) !important;
  height: clamp(58px, 5.6vw, 72px) !important;
  aspect-ratio: 1 / 1;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.shark-premium-body .react-header__logo[data-brand-kind="wordmark"] {
  width: clamp(120px, 15vw, 220px) !important;
  aspect-ratio: auto;
}

.shark-premium-body .react-header__logo[data-brand-kind="wordmark"] img {
  border-radius: 0 !important;
}

.shark-premium-body .react-header__logo img,
.shark-premium-body .sp-header .sp-brand-mark > span:first-child img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 14px !important;
  object-fit: contain !important;
  filter:
    drop-shadow(0 10px 18px rgb(0 0 0 / .28))
    drop-shadow(0 0 18px hsl(var(--primary) / .32));
  -webkit-box-reflect: below -10px linear-gradient(transparent 58%, rgb(255 255 255 / .24));
  animation: sharkPremiumLogoFloat 7s ease-in-out infinite;
  transform-origin: center;
}

@keyframes sharkPremiumLogoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter:
      drop-shadow(0 10px 18px rgb(0 0 0 / .28))
      drop-shadow(0 0 18px hsl(var(--primary) / .32));
  }
  50% {
    transform: translateY(-2px) scale(1.015);
    filter:
      drop-shadow(0 12px 20px rgb(0 0 0 / .30))
      drop-shadow(0 0 24px hsl(var(--primary) / .40));
  }
}

@media (prefers-reduced-motion: reduce) {
  .shark-premium-body .react-header__logo img,
  .shark-premium-body .sp-header .sp-brand-mark > span:first-child img {
    animation: none !important;
  }
}

.shark-premium-body .react-header__logo em,
.shark-premium-body .sp-header .sp-brand-mark > span:first-child > span {
  display: none !important;
}

.shark-premium-body .react-header__logo::after,
.shark-premium-body .sp-header .sp-brand-mark > span:first-child::after,
.shark-premium-body .react-footer__logo-row > img::after,
.shark-premium-body .sp-footer__logoRow::after {
  content: none;
}

.shark-premium-body .react-header__logo::before,
.shark-premium-body .sp-header .sp-brand-mark > span:first-child::before,
.shark-premium-body .react-footer__logo-row::after,
.shark-premium-body .sp-footer__logoRow::after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 8%;
  right: 8%;
  top: calc(100% - 6px);
  height: 46%;
  background: linear-gradient(180deg, hsl(var(--primary) / .22), transparent 72%);
  filter: blur(10px);
  opacity: .72;
  transform: perspective(160px) rotateX(62deg) scaleY(.64);
  transform-origin: top;
}

.shark-premium-body .react-footer__logo-row,
.shark-premium-body .sp-footer__logoRow {
  position: relative;
  align-items: center;
  min-height: 96px;
  margin-bottom: 18px;
}

.shark-premium-body .react-footer__logo-row > div,
.shark-premium-body .sp-footer__logoRow > div {
  display: none !important;
}

.shark-premium-body .react-footer__logo-row > img,
.shark-premium-body .sp-footer__logo {
  width: clamp(112px, 14vw, 172px) !important;
  height: clamp(72px, 9vw, 108px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain !important;
  filter:
    drop-shadow(0 16px 24px rgb(0 0 0 / .32))
    drop-shadow(0 0 22px hsl(var(--primary) / .30));
  -webkit-box-reflect: below -12px linear-gradient(transparent 56%, rgb(255 255 255 / .22));
}

@media (max-width: 640px) {
  .shark-premium-body .react-header__logo,
  .shark-premium-body .sp-header .sp-brand-mark > span:first-child {
    width: clamp(52px, 17vw, 64px) !important;
    height: clamp(52px, 17vw, 64px) !important;
  }

  .shark-premium-body .react-footer__logo-row,
  .shark-premium-body .sp-footer__logoRow {
    min-height: 86px;
    justify-content: flex-start;
  }

  .shark-premium-body .react-footer__logo-row > img,
  .shark-premium-body .sp-footer__logo {
    width: clamp(116px, 42vw, 152px) !important;
    height: 88px !important;
  }
}

@media (max-width: 768px) {
  .shark-premium-body .react-header__logo[data-brand-kind="wordmark"] {
    width: clamp(92px, 28vw, 132px) !important;
  }
}

@media (max-width: 768px) {
  .shark-premium-body .product-card,
  .shark-premium-body .sc-product-glass-card {
    box-shadow: 0 8px 22px rgb(0 0 0 / 0.14);
  }

  .shark-premium-body .product-card:hover,
  .shark-premium-body .sc-product-glass-card:hover {
    transform: none;
  }
}

.shark-premium-body .react-header,
.shark-premium-body .react-header__inner {
  overflow: visible;
}

.shark-premium-body .react-header__search,
.shark-premium-body .react-header__mobile-search {
  position: relative;
  z-index: 70;
}

.shark-premium-body .react-header__search.is-live-search-open,
.shark-premium-body .react-header__mobile-search.is-live-search-open {
  border-color: hsl(var(--primary) / .72);
  box-shadow: 0 0 0 1px hsl(var(--primary) / .35), 0 18px 42px rgb(0 0 0 / .28);
}

.shark-premium-body .sp-live-search {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 999;
  max-height: min(68vh, 620px);
  overflow: auto;
  padding: 10px;
  color: rgb(var(--foreground));
  border: 1px solid hsl(var(--primary) / .34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, hsl(var(--primary) / .12), transparent 44%),
    rgb(var(--card) / .98);
  box-shadow: 0 24px 72px rgb(0 0 0 / .46), inset 0 1px 0 rgb(255 255 255 / .08);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.shark-premium-body .sp-live-search::-webkit-scrollbar {
  width: 8px;
}

.shark-premium-body .sp-live-search::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: hsl(var(--primary) / .6);
}

.shark-premium-body .sp-live-search__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 9px;
  color: rgb(var(--muted-foreground));
  font-size: 12px;
  font-weight: 900;
}

.shark-premium-body .sp-live-search__head span,
.shark-premium-body .sp-live-search__head small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.shark-premium-body .sp-live-search__head span {
  color: hsl(var(--primary));
}

.shark-premium-body .sp-live-search__head svg,
.shark-premium-body .sp-live-search__head i {
  width: 15px;
  height: 15px;
}

.shark-premium-body .sp-live-search__list {
  display: grid;
  gap: 7px;
}

.shark-premium-body .sp-live-search__item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 8px;
  color: rgb(var(--foreground));
  text-decoration: none;
  border: 1px solid rgb(var(--border) / .72);
  border-radius: 8px;
  background: rgb(var(--background) / .42);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.shark-premium-body .sp-live-search__item:hover,
.shark-premium-body .sp-live-search__item:focus-visible {
  border-color: hsl(var(--primary) / .62);
  background: hsl(var(--primary) / .1);
  transform: translateY(-1px);
  outline: none;
}

.shark-premium-body .sp-live-search__thumb {
  display: grid;
  place-items: center;
  width: 72px;
  height: 48px;
  overflow: hidden;
  color: hsl(var(--primary));
  border: 1px solid rgb(var(--border) / .62);
  border-radius: 8px;
  background: rgb(var(--background) / .7);
}

.shark-premium-body .sp-live-search__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shark-premium-body .sp-live-search__thumb svg,
.shark-premium-body .sp-live-search__thumb i {
  width: 22px;
  height: 22px;
}

.shark-premium-body .sp-live-search__info {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.shark-premium-body .sp-live-search__info small {
  overflow: hidden;
  color: hsl(var(--primary));
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shark-premium-body .sp-live-search__info strong {
  display: -webkit-box;
  overflow: hidden;
  color: rgb(var(--foreground));
  font-size: 13px;
  font-weight: 950;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shark-premium-body .sp-live-search__info em {
  display: -webkit-box;
  overflow: hidden;
  color: rgb(var(--muted-foreground));
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.shark-premium-body .sp-live-search__price {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 2px;
  min-width: 74px;
  text-align: right;
}

.shark-premium-body .sp-live-search__price del {
  color: rgb(var(--muted-foreground));
  font-size: 11px;
  font-weight: 750;
}

.shark-premium-body .sp-live-search__price b {
  color: #22c55e;
  font-size: 11px;
  font-weight: 950;
}

.shark-premium-body .sp-live-search__price span {
  color: rgb(var(--foreground));
  font-size: 14px;
  font-weight: 950;
}

.shark-premium-body .sp-live-search__stock {
  color: #fb7185 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
}

.shark-premium-body .sp-live-search__loading,
.shark-premium-body .sp-live-search__empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 128px;
  padding: 18px;
  text-align: center;
  color: rgb(var(--muted-foreground));
}

.shark-premium-body .sp-live-search__loading svg,
.shark-premium-body .sp-live-search__loading i {
  width: 24px;
  height: 24px;
  color: hsl(var(--primary));
  animation: sp-live-search-spin .8s linear infinite;
}

.shark-premium-body .sp-live-search__empty svg,
.shark-premium-body .sp-live-search__empty i {
  width: 28px;
  height: 28px;
  color: hsl(var(--primary));
}

.shark-premium-body .sp-live-search__empty strong {
  color: rgb(var(--foreground));
  font-size: 15px;
  font-weight: 950;
}

.shark-premium-body .sp-live-search__empty small,
.shark-premium-body .sp-live-search__loading span {
  font-size: 12px;
  font-weight: 750;
}

@keyframes sp-live-search-spin {
  to {
    transform: rotate(360deg);
  }
}

.shark-product-card-custom {
  position: relative;
  min-width: 0;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

.shark-product-card-custom.has-template-actions,
.shark-product-card-custom:has(.sc-card-actions.has-template-actions) {
  overflow: hidden !important;
  overflow: clip !important;
}

.shark-product-card-custom.has-template-actions .sc-product-card,
.shark-product-card-custom.has-template-actions .sc-card-shell,
.shark-product-card-custom.has-template-actions .sc-product-custom,
.shark-product-card-custom.has-template-actions .sc-product-content,
.shark-product-card-custom.has-template-actions .sc-card-content,
.shark-product-card-custom.has-template-actions .sc-gameon-card,
.shark-product-card-custom:has(.sc-card-actions.has-template-actions) .sc-product-card,
.shark-product-card-custom:has(.sc-card-actions.has-template-actions) .sc-card-shell,
.shark-product-card-custom:has(.sc-card-actions.has-template-actions) .sc-product-custom,
.shark-product-card-custom:has(.sc-card-actions.has-template-actions) .sc-product-content,
.shark-product-card-custom:has(.sc-card-actions.has-template-actions) .sc-card-content,
.shark-product-card-custom:has(.sc-card-actions.has-template-actions) .sc-gameon-card {
  overflow: hidden !important;
  overflow: clip !important;
}

.shark-product-card-custom.has-template-actions .sc-buy-area,
.shark-product-card-custom.has-template-actions .sc-card-actions,
.shark-product-card-custom.has-template-actions .sc-card-buttons,
.shark-product-card-custom.has-template-actions .sc-gameon-buy,
.shark-product-card-custom:has(.sc-card-actions.has-template-actions) .sc-buy-area,
.shark-product-card-custom:has(.sc-card-actions.has-template-actions) .sc-card-actions,
.shark-product-card-custom:has(.sc-card-actions.has-template-actions) .sc-card-buttons,
.shark-product-card-custom:has(.sc-card-actions.has-template-actions) .sc-gameon-buy {
  overflow: visible !important;
}

.shark-product-card-custom[data-card-href],
.premium-vitrine-product.shark-product-card-custom[data-card-href] {
  cursor: pointer;
}

.shark-product-card-custom {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.shark-product-card-custom > :not(.sc-system-card-reflection) {
  position: relative;
  z-index: 1;
}

.shark-product-card-custom .sc-card-shell,
.shark-product-card-custom .sc-product-card,
.shark-product-card-custom .sc-gameon-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-width: 0;
}

.shark-product-card-custom .sc-card-content,
.shark-product-card-custom .sc-product-content,
.shark-product-card-custom .sc-gameon-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.premium-vitrine-grid,
.sp-products-grid.premium-vitrine-grid {
  align-items: stretch !important;
  grid-auto-rows: 1fr !important;
}

.premium-vitrine-grid > .premium-vitrine-product,
.premium-vitrine-grid > .shark-product-card-custom,
#premium-react-home .premium-vitrine-product,
#premium-react-home .shark-product-card-custom {
  height: 100%;
}

.shark-product-card-custom .sc-gameon-title {
  min-height: 2.36em;
}

.shark-product-card-custom .sc-gameon-description {
  min-height: 2.9em;
}

.shark-product-card-custom .sc-gameon-buy {
  margin-top: auto;
}

.shark-product-card-custom .sc-system-image img[src]:not([src=""]),
.shark-product-card-custom .sc-system-image-element[src]:not([src=""]) {
  opacity: 1 !important;
  visibility: visible !important;
}

.shark-product-card-custom .sc-system-image:has(img[src]:not([src=""])) .sc-system-image-skeleton {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.shark-product-card-custom .sc-gameon-image .sc-system-image-element,
.shark-product-card-custom .sc-gameon-image > img,
.shark-product-card-custom .sc-gameon-image picture img {
  filter: none !important;
}

.shark-product-card-custom .sc-gameon-image:has(.sc-system-stock-overlay) .sc-system-image-element,
.shark-product-card-custom .sc-gameon-image:has(.sc-system-stock-overlay) > img,
.shark-product-card-custom .sc-gameon-image:has(.sc-system-stock-overlay) picture img,
.shark-product-card-custom.is-out-of-stock .sc-gameon-image .sc-system-image-element,
.shark-product-card-custom.is-out-of-stock .sc-gameon-image > img,
.shark-product-card-custom.is-out-of-stock .sc-gameon-image picture img {
  filter: blur(13px) brightness(.55) saturate(.75) !important;
}

.shark-product-card-custom .sc-card-row:has(.sc-card-price),
.shark-product-card-custom .sc-price-wrap,
.shark-product-card-custom .sc-product-price,
.shark-product-card-custom .sc-card-price-wrap {
  margin-top: 0;
}

.shark-product-card-custom .sc-card-category:empty,
.shark-product-card-custom .sc-card-description:empty,
.shark-product-card-custom .sc-card-stock:empty,
.shark-product-card-custom .sc-card-old-price:empty,
.shark-product-card-custom .sc-card-required-slot:empty {
  display: none !important;
}

.shark-product-card-custom .sc-card-price,
.shark-product-card-custom .sc-current-price,
.shark-product-card-custom .sc-product-price {
  display: inline-flex;
  align-items: center;
  color: hsl(var(--primary));
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 18px hsl(var(--primary) / .34);
}

.shark-product-card-custom .sc-system-pix,
.shark-product-card-custom .sc-pix-row,
.shark-product-card-custom .sc-card-pix {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
}

.shark-product-card-custom .sc-system-pix-icon,
.shark-product-card-custom .sc-pix-icon,
.shark-product-card-custom .sc-card-pix img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
}

.shark-product-card-custom .sc-system-pix-icon img,
.shark-product-card-custom .sc-system-pix-image,
.shark-product-card-custom .sc-pix-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.shark-product-card-custom .sc-card-actions,
.shark-product-card-custom .sc-buy-area,
.shark-product-card-custom .sc-card-buttons {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr)) !important;
  align-items: stretch;
  gap: 10px;
  width: 100% !important;
  margin-top: 0;
  overflow: visible !important;
}

.shark-product-card-custom .sc-card-actions[data-action-count="1"] {
  grid-template-columns: 1fr !important;
}

.premium-vitrine-grid > .sc-server-card-slot,
#premium-react-home .sc-server-card-slot {
  display: contents !important;
}

.shark-product-card-custom .sc-card-actions[data-action-count="2"]:not(.has-template-actions) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.shark-product-card-custom .sc-card-actions.has-template-actions {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), max-content)) !important;
  justify-content: center;
  position: relative;
  isolation: isolate;
  z-index: 1;
  overflow: visible !important;
}

.shark-product-card-custom .sc-card-actions[data-action-count="1"]:not(.has-template-actions) > * {
  width: 100% !important;
}

.shark-product-card-custom .sc-card-actions > .sc-system-buy-button,
.shark-product-card-custom .sc-card-actions > .sc-custom-buy-button,
.shark-product-card-custom .sc-card-actions > .sc-card-cta,
.shark-product-card-custom .sc-card-actions > .sc-system-cart-button,
.shark-product-card-custom .sc-card-actions > .sc-custom-cart-button,
.shark-product-card-custom .sc-card-actions > .sc-card-cart-button,
.shark-product-card-custom .sc-card-actions > .sc-card-action-template {
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  align-self: stretch;
}

.shark-product-card-custom .sc-system-buy-button,
.shark-product-card-custom .sc-custom-buy-button,
.shark-product-card-custom .sc-card-cta,
.shark-product-card-custom .sc-system-cart-button,
.shark-product-card-custom .sc-custom-cart-button,
.shark-product-card-custom .sc-card-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 30px;
  height: auto;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

/* Keep animated button pseudo-elements visible without changing the tenant button's own stacking rules. */
.shark-product-card-custom .sc-card-actions.has-template-actions > .sc-card-action-template {
  position: relative;
}

.shark-product-card-custom .sc-system-buy-button.is-pressing,
.shark-product-card-custom .sc-custom-buy-button.is-pressing,
.shark-product-card-custom .sc-card-cta.is-pressing,
.shark-product-card-custom .sc-system-cart-button.is-pressing,
.shark-product-card-custom .sc-custom-cart-button.is-pressing,
.shark-product-card-custom .sc-card-cart-button.is-pressing,
.shark-product-card-custom .sc-card-action-template.is-pressing {
  transform: translateY(1px) scale(.985);
}

.shark-product-card-custom .sc-system-buy-button.is-loading,
.shark-product-card-custom .sc-custom-buy-button.is-loading,
.shark-product-card-custom .sc-card-cta.is-loading,
.shark-product-card-custom .sc-system-cart-button.is-loading,
.shark-product-card-custom .sc-custom-cart-button.is-loading,
.shark-product-card-custom .sc-card-cart-button.is-loading,
.shark-product-card-custom .sc-card-action-template.is-loading {
  cursor: wait;
}

.shark-product-card-custom .sc-button-loading-mark {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  opacity: .78;
  animation: sc-button-loading-spin .9s linear infinite;
}

.shark-product-card-custom .sc-card-shell,
.shark-product-card-custom .sc-product-custom {
  height: auto !important;
  min-height: 0 !important;
}

.shark-product-card-custom .sc-card-actions,
.shark-product-card-custom .sc-buy-area,
.shark-product-card-custom .sc-card-buttons {
  margin-top: 0 !important;
}

@keyframes sc-button-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.react-header__cart-button.is-cart-pulse,
[data-cart-open].is-cart-pulse,
[data-open-cart].is-cart-pulse,
.js-open-cart.is-cart-pulse,
.open-cart.is-cart-pulse {
  animation: sc-cart-target-pulse .42s ease;
}

@keyframes sc-cart-target-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.16);
    box-shadow: 0 0 0 8px hsl(var(--primary) / .18), 0 0 28px hsl(var(--primary) / .46);
  }
}

.shark-product-card-custom .sc-buy-area > .sc-system-buy-button:only-child,
.shark-product-card-custom .sc-buy-area > .sc-custom-buy-button:only-child,
.shark-product-card-custom .sc-buy-area > .sc-system-cart-button:only-child,
.shark-product-card-custom .sc-buy-area > .sc-custom-cart-button:only-child {
  width: 100%;
}

.shark-product-card-custom .sc-system-card-reflection {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  opacity: .85;
  contain: paint;
}

.shark-product-card-custom .sc-system-card-reflection::before {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -70%;
  width: 42%;
  transform: translate3d(-130%, 0, 0) rotate(18deg);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .18), transparent);
  filter: blur(1px);
  animation: sc-card-reflection-pass 5.6s ease-in-out infinite;
}

@keyframes sc-card-reflection-pass {
  0%, 58% {
    transform: translate3d(-130%, 0, 0) rotate(18deg);
  }

  76%, 100% {
    transform: translate3d(520%, 0, 0) rotate(18deg);
  }
}

@media (max-width: 768px) {
  .shark-premium-body .react-header__mobile-search .sp-live-search,
  .shark-premium-body .react-header__search .sp-live-search {
    position: fixed;
    top: calc(var(--sp-total-header-height, 78px) + 8px);
    left: 10px;
    right: 10px;
    max-height: calc(100vh - var(--sp-total-header-height, 78px) - 22px);
  }

  .shark-premium-body .sp-live-search__item {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 62px;
    padding: 7px;
  }

  .shark-premium-body .sp-live-search__thumb {
    width: 58px;
    height: 42px;
  }

  .shark-premium-body .sp-live-search__info strong {
    font-size: 12px;
  }

  .shark-premium-body .sp-live-search__price {
    min-width: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shark-premium-body *,
  .shark-premium-body *::before,
  .shark-premium-body *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
