/* ==================================================
   HALAMAN DETAIL TOKO
================================================== */

.breadcrumb {
  padding-block: 1.15rem 0.5rem;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 0.5rem;

  color: var(--faint);

  font-size: 0.75rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;

  gap: 0.5rem;
}

.breadcrumb li + li::before {
  content: "/";

  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--muted);

  transition: color var(--t);
}

.breadcrumb a:hover {
  color: var(--amber-dark);
}

.breadcrumb [aria-current] {
  color: var(--ink);
  font-weight: 600;
}

/* ==================================================
   HERO TOKO
================================================== */

.store-hero {
  margin-bottom: 1.75rem;

  overflow: hidden;

  background: var(--surface);

  border: 1px solid var(--line);
  border-radius: var(--r-lg);

  box-shadow: var(--shadow);
}

.store-hero__media {
  position: relative;

  margin: 0;

  aspect-ratio: 3 / 1;

  background: var(--surface-mute);

  overflow: hidden;
}

.store-hero__image {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.store-hero__icon {
  display: none;

  color: rgba(245, 158, 11, 0.7);

  font-size: 2.5rem;
}

.store-hero__media.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: linear-gradient(135deg, #14213d, #1f3a68);
}

.store-hero__media.is-fallback .store-hero__image {
  display: none;
}

.store-hero__media.is-fallback .store-hero__icon {
  display: block;
}

.store-hero__status {
  position: absolute;

  top: 1rem;
  left: 1rem;

  display: inline-flex;
  align-items: center;

  gap: 0.4rem;

  padding: 0.3rem 0.8rem;

  background: var(--surface);

  border-radius: var(--r-pill);

  font-size: 0.7rem;
  font-weight: 700;

  box-shadow: var(--shadow);
}

.store-hero__status--open {
  color: var(--ok);
}

.store-hero__status--closed {
  color: var(--faint);
}

.store-hero__status::before {
  content: "";

  width: 0.4rem;
  height: 0.4rem;

  border-radius: 50%;

  background: currentColor;
}

/* Body */

.store-hero__body {
  padding: 1.5rem;
}

.store-hero__category {
  display: block;

  margin-bottom: 0.35rem;

  color: var(--amber);

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.store-hero__title {
  margin-bottom: 0.5rem;

  font-size: 1.75rem;
  font-weight: 800;

  letter-spacing: -0.02em;
}

.store-hero__description {
  max-width: 560px;

  margin-bottom: 1.25rem;

  font-size: 0.88rem;

  line-height: 1.65;
}

.store-hero__meta {
  display: flex;
  flex-wrap: wrap;

  gap: 0.5rem;

  padding-top: 1.15rem;

  border-top: 1px solid var(--line);
}

.store-hero__meta li {
  display: inline-flex;
  align-items: center;

  gap: 0.45rem;

  padding: 0.45rem 0.8rem;

  background: var(--surface-alt);

  border-radius: var(--r-pill);

  color: var(--body);

  font-size: 0.78rem;
  font-weight: 500;
}

.store-hero__meta i {
  color: var(--amber);

  font-size: 0.75rem;
}

.store-hero__meta strong {
  font-weight: 700;
}

/* ==================================================
   TOOLBAR PRODUK
================================================== */

.store-toolbar {
  display: grid;

  grid-template-columns: 1fr minmax(200px, 260px);

  gap: 1rem;

  align-items: center;

  margin-bottom: 1.5rem;
}

.store-toolbar__search {
  position: relative;
}

.store-toolbar__search i {
  position: absolute;

  top: 50%;
  left: 0.9rem;

  color: var(--faint);

  font-size: 0.8rem;

  transform: translateY(-50%);

  pointer-events: none;
}

.store-toolbar__input {
  width: 100%;

  min-height: 2.6rem;

  padding: 0.55rem 0.9rem 0.55rem 2.3rem;

  appearance: none;
  -webkit-appearance: none;

  background: var(--surface);

  border: 1px solid var(--line);
  border-radius: var(--r-pill);

  font-size: 0.82rem;
}

.store-toolbar__input::placeholder {
  color: var(--faint);
}

/* ==================================================
   INFO BIAYA
================================================== */

.fee-note {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 1rem;

  margin-bottom: 1.75rem;

  padding: 1.1rem 1.4rem;

  background: var(--surface);

  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.fee-note div {
  min-width: 0;
}

.fee-note dt {
  margin-bottom: 0.15rem;

  color: var(--faint);

  font-size: 0.65rem;
  font-weight: 700;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.fee-note dd {
  margin: 0;

  font-size: 0.85rem;
  font-weight: 700;
}

.fee-note dd small {
  display: block;

  margin-top: 0.1rem;

  color: var(--faint);

  font-size: 0.68rem;
  font-weight: 400;
}

/* ==================================================
   TABLET
   1024px
================================================== */

@media (max-width: 1024px) {
  .store-hero__title {
    font-size: 1.5rem;
  }
}

/* ==================================================
   MOBILE
   768px
================================================== */

@media (max-width: 768px) {
  .store-hero__media {
    aspect-ratio: 16 / 9;
  }

  .store-hero__body {
    padding: 1.15rem;
  }

  .store-hero__title {
    font-size: 1.3rem;
  }

  .store-toolbar {
    grid-template-columns: 1fr;

    gap: 0.75rem;
  }

  .fee-note {
    grid-template-columns: 1fr;

    gap: 0.75rem;

    padding: 1rem 1.15rem;
  }
}

/* ==================================================
   SMALL MOBILE
   480px
================================================== */

@media (max-width: 480px) {
  .store-hero__meta li {
    padding: 0.4rem 0.7rem;

    font-size: 0.72rem;
  }
}
