/* .shop-category-card {
            position: relative;
            overflow: hidden;
            transition: transform .25s ease, box-shadow .25s ease;
        }

        .shop-category-card::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 0;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, #0d6efd, #20c997);
            transition: all .3s ease;
            transform: translateX(-50%);
        }

        .shop-category-card:hover::after {
            width: 80%;
        }

        .shop-category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
        } */

/* HERO */
.hero-category {
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 240px;
  position: relative;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0.75) 40%, rgba(255,255,255,0.15) 100%);
}
.hero-category-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}
.hero-category h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.15;
  margin-bottom: 0;
}
.hero-category h1::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, #20c997);
  border-radius: 2px;
  margin-top: 0.55rem;
}
.hero-category p {
  max-width: 520px;
  font-size: 1.05rem;
  color: #444;
  margin-top: 0.75rem;
}
.hero-category-img-wrap {
  background: rgba(255,255,255,0.82);
  border-radius: 18px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 6px 28px rgba(0,0,0,0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.hero-category-img {
  max-height: 150px;
  max-width: 100%;
  object-fit: contain;
}

/* Section header */
.shop-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 .6rem;
}
.shop-section-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
}
.shop-section-meta {
  font-size: .9rem;
  color: #6b7280;
}

/* ÜHINE hover tile + product */
.shop-hover-card {
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.shop-hover-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #0d6efd, #20c997);
  transition: all .3s ease;
  transform: translateX(-50%);
}
.shop-hover-card:hover::after {
  width: 80%;
}
.shop-hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

/* Subcategory tile */
.shop-tile {
  display: block;
  height: 170px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}
.shop-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}
.shop-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.58));
}
.shop-tile-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
  line-height: 1.15;
}
.shop-tile-sub {
  display: block;
  font-weight: 500;
  opacity: .9;
  font-size: .85rem;
  margin-top: .25rem;
}

/* Product card (klikitav) */
.product-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 .5rem 1.3rem rgba(15, 23, 42, 0.08);
  overflow: hidden;

  height: 100%;
  display: flex;
  flex-direction: column;

  text-decoration: none;
  color: inherit;
}
.product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.product-card-body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Ühtlane kõrgus: pealkiri max 2 rida */
.product-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: .4rem;
  color: #111827;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  min-height: 2.6em;
}

.product-meta {
  font-size: .9rem;
  color: #4b5563;
  line-height: 1.25;
}
.product-meta li + li { margin-top: .2rem; }

.product-bottom-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  padding-top: .8rem;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 900;
  color: #111827;
  line-height: 1;
  white-space: nowrap;
}
.product-price small {
  display: block;
  font-size: .8rem;
  color: #6b7280;
  font-weight: 500;
  margin-top: .2rem;
}

/* btn (kui seda pole juba shop--style.css-is) */
.btn-teal {
  background-color: #0094a1;
  border-color: #0094a1;
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: .35rem .65rem;
  white-space: nowrap;
}
.btn-teal:hover {
  background-color: #0f6c74;
  border-color: #0f6c74;
  color: #fff;
}

@media (min-width: 992px) {
  .row.justify-content-center > [class*="col-lg-"] {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

.product-card .btn.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}
.btn-cart {
  border-radius: 999px; /* või sama väärtus, mis btn-teal kasutab */
}

.shop-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
}

.shop-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TUME OVERLAY */
.shop-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

/* TEKST */
.shop-tile-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;

  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.product-card { position: relative; }

.badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 7px 9px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  background: #dc3545;;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
}


.badge-location {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 11px;
  line-height: 1;
  background: #198754;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  white-space: nowrap;
}

/* Pagination – ühtlusta "btn-teal" stiiliga */
.pagination {
  --pg-teal: #0aa7a6;      /* kohanda kui sul on teistsugune teal */
  --pg-teal-dark: #078b8a; /* hover/active */
  --pg-border: #dfe3e7;
}

/* link */
.pagination .page-link {
  color: var(--pg-teal);
  border-color: var(--pg-border);
}

/* hover */
.pagination .page-link:hover {
  color: #fff;
  background-color: var(--pg-teal);
  border-color: var(--pg-teal);
}

/* active */
.pagination .page-item.active .page-link {
  color: #fff;
  background-color: var(--pg-teal);
  border-color: var(--pg-teal);
}

/* focus */
.pagination .page-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(10, 167, 166, 0.25);
}

/* disabled */
.pagination .page-item.disabled .page-link {
  color: #9aa4ad;
  background-color: #f3f5f7;
  border-color: var(--pg-border);
}

/* Breadcrumb – ühtne teal stiil */
.shop-breadcrumb .breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.shop-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #9aa4ad; /* eraldaja / */
}

/* lingid */
.shop-breadcrumb a {
  color: #0aa7a6;          /* sama teal mis nupud */
  text-decoration: none;
  font-weight: 500;
}

/* hover */
.shop-breadcrumb a:hover {
  text-decoration: underline;
}

/* aktiivne (viimane) */
.shop-breadcrumb .breadcrumb-item.active {
  color: #6c757d;          /* neutraalne hall */
  font-weight: 500;
  cursor: default;
}

.imgbox{
  background:#f8f9fa;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.imgbox img{
  width:100%;
  height:100%;
  display:block;
}

/* kategooria tile – pigem cover */
.imgbox--cat{ aspect-ratio: 16 / 9; }
.imgbox--cat img{ object-fit: cover; }

/* tootekaart – pigem contain */
.imgbox--product{ aspect-ratio: 4 / 3; }
.imgbox--product img{ object-fit: contain; }

/* placeholder ei peaks “täislaia” olema */
.imgbox img.is-placeholder{
  width:45%;
  height:auto;
  opacity:.65;
  object-fit: contain;
}

.navbar .nav-link .badge {
  font-size: 0.70rem;
  line-height: 1;
  padding: .35em .55em;
}

/* Korvi badge: väike, ilus, stabiilselt ikooni küljes */
.cart-icon { line-height: 1; }

.cart-badge{
  position: absolute;
  top: -6px;
  right: -8px;
  transform: none;
  font-size: 11px;
  padding: 0.25em 0.45em;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(var(--bs-danger-rgb),var(--bs-bg-opacity)) !important;      /* “chip” efekt valge navbariga */
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}


/* .cart-pill{
  font-size: 12px;
  padding: .35em .55em;
} */

/* ── Mobiili kategooria chips-rida ───────────────────────────────────────── */
.cat-chips {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  padding: .15rem 0 .6rem;
  margin-bottom: .5rem;
  /* scrollbar peida */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-chips::-webkit-scrollbar { display: none; }

.cat-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .9rem;
  border-radius: 999px;
  background: #eef9fa;
  border: 1.5px solid #0094a1;
  color: #007080;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.cat-chip:hover,
.cat-chip:focus-visible {
  background: #0094a1;
  border-color: #0094a1;
  color: #fff;
  outline: none;
}

.form-check-input:checked {
  background-color: #0094a1;
  border-color: #0094a1;
}

