/* Hatly — TargetSite-aligned styles (original navy / cyan brand) */
:root {
  --hl-brand: #0e7490;
  --hl-brand-dark: #155e75;
  --hl-brand-soft: #ecfeff;
  --hl-ink: #0f172a;
  --hl-muted: #64748b;
  --hl-line: #e2e8f0;
  --hl-surface: #f8fafc;
  --hl-mint: #f0fdfa;
}

body {
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, sans-serif;
  color: var(--hl-ink);
  background: #fff;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.hl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--hl-line);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.hl-card:hover {
  border-color: #a5f3fc;
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.1);
}

.hl-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--hl-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.hl-badge-new {
  background: #0f172a;
}

.hl-card-media {
  display: block;
  aspect-ratio: 1;
  background: var(--hl-surface);
  padding: 14px;
}
.hl-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hl-card-body {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  flex: 1;
}

.hl-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--hl-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.hl-card-title:hover { color: var(--hl-brand); }

.hl-card-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.hl-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--hl-brand);
}
.hl-price-was {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
}

.hl-add-btn {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--hl-brand-soft);
  color: var(--hl-brand-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.hl-add-btn:hover {
  background: var(--hl-brand);
  color: #fff;
}

.hl-cat {
  display: block;
  text-align: center;
  background: #fff;
  border: 1px solid var(--hl-line);
  border-radius: 12px;
  padding: 12px 10px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hl-cat:hover {
  border-color: var(--hl-brand);
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.1);
}
.hl-cat img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  background: var(--hl-surface);
}
.hl-cat span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--hl-ink);
}

.hl-page-title {
  background: linear-gradient(180deg, var(--hl-mint), #fff);
  text-align: center;
  padding: 2.25rem 1rem;
}
.hl-page-title h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hl-ink);
}

.variant-chip {
  border: 1px solid var(--hl-line);
  background: #fff;
  color: var(--hl-ink);
  font-weight: 600;
  font-size: 13px;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
}
.variant-chip.is-active,
.variant-chip.active {
  background: var(--hl-brand);
  border-color: var(--hl-brand);
  color: #fff;
}

[data-cart-drawer] { will-change: transform; }
[data-cart-drawer].is-open { transform: translateX(0) !important; }
[data-drawer-overlay].is-open { display: block !important; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hl-ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  border: none;
  padding: 0;
  cursor: pointer;
}
.hero-dot.is-on { background: #fff; width: 22px; }

.hl-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
}
.hl-hero-slide.is-active { opacity: 1; }

/* Reveal + hero width fixes for Laravel storefront */
[data-reveal].revealed,
[data-reveal].in-view,
.reveal.in-view,
.reveal.revealed {
  opacity: 1;
  transform: none;
}
.hl-hero-slide,
#heroSlider [data-slide],
.hl-hero-slide img,
#heroSlider [data-slide] img {
  width: 100%;
  min-width: 100%;
}
.hl-wrap {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .hl-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
}
.hl-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hl-sec-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hl-ink);
  line-height: 1.2;
}
@media (min-width: 640px) {
  .hl-sec-head h2 { font-size: 1.875rem; }
}
.hl-see {
  flex-shrink: 0;
  background: var(--hl-brand);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.hl-see:hover { background: var(--hl-brand-dark); }
.hl-promo {
  background: var(--hl-ink);
  color: #fff;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.5rem 1rem;
}
@media (min-width: 640px) {
  .hl-promo { font-size: 0.875rem; }
}
.hl-offer-band {
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(90deg, #0f172a, #164e63, #0e7490);
  color: #fff;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .hl-offer-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 2.5rem;
  }
}
#heroSlider [data-slide].is-hidden { opacity: 0; pointer-events: none; }
#heroSlider [data-slide].is-active { opacity: 1; }

/* Price: never split currency from digits; keep card rows aligned on phone */
.product-card-price,
.product-card .pc-price,
.product-card .pc-price-was,
.product-card .dn-price,
.product-card .dn-price-was,
.product-card .sh-price,
.product-card .sh-price-was,
.product-card .dm-price,
.product-card .dm-price-was,
.product-card .fk-price,
.product-card .fk-price-was,
.product-card .rw-price,
.product-card .rw-price-was,
.product-card .hl-price,
.product-card .hl-price-was,
.product-card .nr-price,
.product-card .nr-price-was,
.product-card .tz-price {
  white-space: nowrap !important;
  word-break: keep-all;
  overflow-wrap: normal;
}
.product-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.375rem;
  row-gap: 0.125rem;
  min-height: 1.5rem;
}
@media (max-width: 640px) {
  .product-card-price,
  .sh-card-price,
  .dm-card-price,
  .fk-card-price,
  .dn-card-price,
  .nr-card-price,
  .rw-card-price,
  .hl-card-price,
  .tz-price {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0.125rem;
  }
  .product-card-price > span,
  .sh-card-price > span,
  .dm-card-price > span,
  .fk-card-price > span,
  .dn-card-price > span,
  .nr-card-price > span,
  .hl-card-price > span,
  .tz-price > span {
    white-space: nowrap !important;
    display: inline-block;
    max-width: 100%;
  }
  .product-card-price > span:first-child {
    font-size: 0.9rem;
  }
}

/* WaveSeller developer credit — high visibility strip */
.ws-dev-credit {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.95rem 1rem;
  background: #020617;
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  border-top: 3px solid #38bdf8;
}
.ws-dev-credit strong {
  color: #38bdf8;
  font-weight: 800;
  font-size: 1.05rem;
  margin-left: 0.25rem;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .ws-dev-credit {
    font-size: 0.9rem;
    padding: 1rem 0.75rem;
  }
  .ws-dev-credit strong {
    font-size: 1rem;
  }
}
