/* JZ simple storefront list theme */
:root {
  --jz-list-page: #eef2f7;
  --jz-list-page-soft: #f8fbff;
  --jz-list-page-deep: #e7edf5;
  --jz-list-card: rgba(255, 255, 255, .92);
  --jz-list-card-strong: rgba(255, 255, 255, .96);
  --jz-list-border: #dde2ea;
  --jz-list-border-hover: #b8c3d3;
  --jz-list-text: #171a23;
  --jz-list-muted: #6b7280;
  --jz-list-blue: #0878e6;
  --jz-list-blue-soft: #e7f1ff;
  --jz-list-green-soft: #e7f7f1;
  --jz-list-green: #07835d;
  --jz-list-orange-soft: #fff4df;
  --jz-list-orange: #b76800;
}

html,
body {
  min-height: 100%;
}

html {
  background: var(--jz-list-page) !important;
}

body {
  position: relative;
  background-color: var(--jz-list-page) !important;
  background-image:
    linear-gradient(90deg, rgba(248, 251, 255, .46) 0%, rgba(248, 251, 255, .32) 48%, rgba(248, 251, 255, .42) 100%),
    url("/jz-bg-anime-sunset-20260825.webp") !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--jz-list-page);
  background-image:
    linear-gradient(90deg, rgba(248, 251, 255, .46) 0%, rgba(248, 251, 255, .32) 48%, rgba(248, 251, 255, .42) 100%),
    url("/jz-bg-anime-sunset-20260825.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#app,
#app.min-h-screen,
#app > main,
#app main.flex-1,
.products-page.min-h-screen {
  background: transparent !important;
}

#app {
  position: relative;
  z-index: 1;
}

a[href="/products"],
a[href="/products/"] {
  display: none !important;
}

.products-page {
  background: transparent !important;
}

.products-page main .theme-slide-up {
  background: var(--jz-list-card) !important;
  border-color: rgba(221, 226, 234, .9) !important;
  backdrop-filter: blur(10px);
}

.jz-search-top {
  margin-bottom: 16px;
  position: relative;
}

.jz-search-top input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--jz-list-border);
  border-radius: 14px;
  background: var(--jz-list-card-strong);
  color: var(--jz-list-text);
  box-shadow: 0 12px 28px -24px rgba(18, 24, 40, .38);
  font-size: 15px;
  outline: none;
  padding: 0 44px;
}

.jz-search-top input:focus {
  border-color: var(--jz-list-blue);
  box-shadow: 0 0 0 4px rgba(8, 120, 230, .12), 0 14px 30px -24px rgba(18, 24, 40, .45);
}

.jz-search-top::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid var(--jz-list-muted);
  border-radius: 999px;
  position: absolute;
  left: 18px;
  top: 16px;
}

.jz-search-top::after {
  content: "";
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--jz-list-muted);
  position: absolute;
  left: 31px;
  top: 31px;
  transform: rotate(45deg);
}

.jz-category-heading {
  color: var(--jz-list-text);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  margin: 8px 2px 4px;
}

.jz-category-heading::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 999px;
  background: var(--jz-list-blue);
}

@media (min-width: 1024px) {
  .products-page {
    padding-top: 24px !important;
    padding-bottom: 48px !important;
  }

  .products-page > .mx-auto {
    max-width: 1500px !important;
    padding-left: 56px !important;
    padding-right: 56px !important;
  }

  .products-page > .mx-auto > div:first-child {
    display: none !important;
  }

  .products-page > .mx-auto > div:nth-child(2) {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px !important;
    align-items: start !important;
  }

  .products-page aside[class*="lg:block"] {
    width: 240px !important;
  }

  .products-page aside[class*="lg:block"] > div {
    background: var(--jz-list-card) !important;
    border-color: var(--jz-list-border) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 42px -34px rgba(18, 24, 40, .5) !important;
    padding: 20px !important;
    top: 96px !important;
  }

  .products-page aside[class*="lg:block"] > div > div:first-child {
    display: none !important;
  }

  .products-page aside[class*="lg:block"] h2 {
    font-size: 18px !important;
    margin-bottom: 16px !important;
  }

  .products-page aside[class*="lg:block"] button {
    min-height: 42px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
  }

  .products-page main {
    min-width: 0;
  }

  .products-page main > div > div[class*="grid"],
  .products-page main > div[class*="grid"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .products-page main .theme-slide-up {
    background: var(--jz-list-card) !important;
    border: 1px solid var(--jz-list-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 36px -30px rgba(18, 24, 40, .5) !important;
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px !important;
    min-height: 92px;
    padding: 14px 18px !important;
    transform: none !important;
  }

  .products-page main .theme-slide-up:hover {
    border-color: var(--jz-list-border-hover) !important;
    box-shadow: 0 22px 46px -32px rgba(18, 24, 40, .58) !important;
  }

  .products-page main .theme-slide-up > div:first-child {
    aspect-ratio: 1 / 1 !important;
    border-radius: 12px !important;
    height: 68px !important;
    width: 68px !important;
  }

  .products-page main .theme-slide-up > div:nth-child(2) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 24px;
    flex: 1 1 auto !important;
    padding: 0 !important;
  }

  .products-page main .theme-slide-up > div:nth-child(2) > div:first-child {
    display: none !important;
  }

  .products-page main .theme-slide-up h3 {
    color: var(--jz-list-text) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    min-height: 0 !important;
  }

  .products-page main .theme-slide-up p {
    display: none !important;
  }

  .products-page main .theme-slide-up > div:nth-child(2) > div:nth-child(3) {
    margin-top: 6px !important;
  }

  .products-page main .theme-slide-up span[class*="rounded"] {
    border-radius: 999px !important;
  }

  .products-page main .theme-slide-up > div:nth-child(2) > div:last-child {
    border-top: 0 !important;
    display: flex !important;
    grid-column: 2;
    grid-row: 1 / span 3;
    justify-content: flex-end !important;
    margin: 0 !important;
    min-width: 230px;
    padding: 0 !important;
  }

  .products-page main .theme-slide-up > div:nth-child(2) > div:last-child > div:first-child > span:first-child {
    display: none !important;
  }

  .products-page main .theme-slide-up .theme-price-sm {
    color: var(--jz-list-text) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
  }
}

@media (max-width: 1023px) {
  .products-page {
    padding-top: 18px !important;
  }

  .products-page > .mx-auto {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .products-page > .mx-auto > div:first-child {
    display: none !important;
  }

  .jz-search-top {
    margin: 12px 0;
  }

  .products-page main > div > div[class*="grid"],
  .products-page main > div[class*="grid"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .products-page main .theme-slide-up {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 12px !important;
    transform: none !important;
  }

  .products-page main .theme-slide-up > div:first-child {
    aspect-ratio: 1 / 1 !important;
    border-radius: 12px !important;
    height: 58px !important;
    width: 58px !important;
  }

  .products-page main .theme-slide-up > div:nth-child(2) {
    min-width: 0 !important;
    padding: 0 !important;
  }

  .products-page main .theme-slide-up h3 {
    font-size: 15px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    overflow-wrap: anywhere;
  }

  .products-page main .theme-slide-up .theme-price-sm {
    font-size: 16px !important;
  }

  .products-page main .theme-slide-up p,
  .products-page main .theme-slide-up > div:nth-child(2) > div:first-child {
    display: none !important;
  }
}

.dark .jz-search-top input,
.dark .products-page main .theme-slide-up {
  background: rgba(28, 28, 30, .9) !important;
  border-color: rgba(255, 255, 255, .14) !important;
  color: #f5f5f7 !important;
}

.dark body {
  background-color: #10141b !important;
  background-image:
    linear-gradient(90deg, rgba(12, 16, 23, .78) 0%, rgba(12, 16, 23, .58) 48%, rgba(12, 16, 23, .8) 100%),
    url("/jz-bg-anime-sunset-20260825.webp") !important;
}

.dark body::before {
  background-color: #10141b;
  background-image:
    linear-gradient(90deg, rgba(12, 16, 23, .72) 0%, rgba(12, 16, 23, .5) 48%, rgba(12, 16, 23, .74) 100%),
    url("/jz-bg-anime-sunset-20260825.webp");
}

@media (max-width: 767px) {
  body,
  body::before {
    background-attachment: scroll !important;
    background-position: 83% center !important;
  }
}

.dark .jz-category-heading,
.dark .products-page main .theme-slide-up h3 {
  color: #f5f5f7 !important;
}
