/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
*/
/*
 * Minimalistic Light Blue Theme
 * Grid background, light overrides, hero section, scrolling lanes
 */

/* ===== GRID BACKGROUND ===== */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
}

/* ===== GLOBAL LIGHT OVERRIDES ===== */

/* Soften all white-opacity borders to dark-opacity for light theme */
.border-white\/5,
[class*="border-white/5"],
[class*="border-white\/5"] {
  border-color: rgba(15, 23, 42, 0.07) !important;
}

.border-y-white\/5,
[class*="border-y-white/5"],
[class*="border-y-white\/5"] {
  border-color: rgba(15, 23, 42, 0.07) !important;
}

/* Card shadows for light theme */
.bg-card,
[class*="bg-card"] {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
}

/* Override white/alpha backgrounds */
.bg-white\/\[0\.025\],
[style*="bg-white"] {
  background-color: rgba(15, 23, 42, 0.03) !important;
}

.bg-white\/5 {
  background-color: rgba(15, 23, 42, 0.04) !important;
}

/* Background/35 override for light */
/* .bg-background\/35 {
  background-color: rgba(240, 249, 255, 0.5) !important;
} */

/* Card/25 override for light */
/* .bg-card\/25 {
  background-color: rgba(255, 255, 255, 0.6) !important;
} */

/* Black overlay for modals — keep dark */
/* .bg-black\/75 {
  background-color: rgba(0, 0, 0, 0.5) !important;
} */

/* ===== HERO SECTION ===== */
.hero-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0 3rem;
  min-height: 420px;
  overflow: hidden;
}

.hero-logo-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-logo-side img {
  max-height: 80px;
  opacity: 0.35;
  filter: grayscale(20%);
  transition: opacity 0.4s ease;
}

.hero-logo-side img:hover {
  opacity: 0.6;
}

.hero-logo-side .hero-shop-name {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.12);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 1rem;
}

.hero-logo-side .hero-tagline {
  font-size: 1.125rem;
  color: rgba(15, 23, 42, 0.4);
  margin-top: 0.75rem;
  font-weight: 400;
}

.hero-lanes {
  flex: 1.2;
  display: flex;
  gap: 1rem;
  height: 590px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.product-lane {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 50%;
}

.product-lane-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lane-up .product-lane-inner {
  animation: scrollUp 30s linear infinite;
}

.lane-down .product-lane-inner {
  animation: scrollDown 30s linear infinite;
}

.product-lane-inner:hover {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes scrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.lane-product-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lane-product-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.15);
}

/* ===== MINIMAL PRODUCT CARD ===== */
.product-card-minimal {
  position: relative;
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-minimal:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.12);
}

.product-card-minimal img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.product-card-minimal .card-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.05);
}

.product-card-minimal .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.product-card-minimal .card-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}

.product-card-minimal .card-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: rgba(56, 189, 248, 0.85);
  padding: 0.25rem 0.625rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    /* min-height: auto; */
    gap: 2rem;
    padding: 1.5rem 0 2rem;
  }

  .hero-logo-side {
    align-items: center;
    text-align: center;
  }

  .hero-logo-side .hero-shop-name {
    font-size: 2rem;
  }

  .hero-lanes {
    height: 590px;
    width: 100%;
  }
}

/* ===== SMOOTH TRANSITIONS ===== */
* {
  transition-property: background-color, border-color, box-shadow;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

a, button {
  transition: all 0.2s ease;
}

/* ===== SCROLLBAR LIGHT THEME ===== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 189, 248, 0.4);
}

/* ===== GRADIENT FADE EDGE FOR NAV ===== */
.from-transparent.to-background {
  background: linear-gradient(to right, transparent, rgb(240, 249, 255)) !important;
}