/* Shared layout for category / shop pages (not homepage) */
html:not(.category-ready) #list {
  visibility: hidden;
  min-height: 55vh;
}

html.category-ready #list {
  visibility: visible;
}

#list.shop-cat-switching .shop-main {
  opacity: 0.35;
  transition: opacity 0.18s ease;
}

#list.shop-cat-switching .shop-sidebar-col {
  opacity: 1;
}

#list.shop-cat-switching .shop-main .product-grid {
  transition: opacity 0.18s ease;
}

html.category-ready #list:not(.shop-cat-switching) .shop-main {
  opacity: 1;
  transition: opacity 0.22s ease;
}

:root {
  --font-product-en: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-ui-mixed: "Hind Siliguri", "Inter", system-ui, sans-serif;
}

body.shop-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: var(--font-ui-mixed);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* প্রোডাক্টের ইংরেজি নাম/লেবেল — স্পষ্ট ল্যাটিন ফন্ট */
body.shop-page :lang(en),
body.shop-page [lang="en"] {
  font-family: var(--font-product-en);
  font-variant-ligatures: none;
  font-feature-settings: "kern" 1, "liga" 0;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.shop-page .card-title-text,
body.shop-page .pqv-related-name,
body.shop-page .pqv-related-price,
body.shop-page .premium-card .card-price,
body.shop-page .pqv-opt-btn,
body.shop-page .pqv-type-opt,
body.shop-page .pqv-related-head h3,
body.shop-page .pqv-tab,
body.shop-page .pqv-panel-back,
body.shop-page .pqv-field-label,
body.shop-page .pqv-stock,
body.shop-page .premium-card .card-spec-v,
body.shop-page .premium-card .card-spec-chip,
body.shop-page .premium-card-detail .detail-content h3,
body.shop-page .premium-card-detail .detail-price {
  font-family: var(--font-product-en);
  font-variant-ligatures: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.shop-page .pqv-title {
  font-family: Georgia, "Times New Roman", "Noto Serif Bengali", serif;
}

body.shop-page .pqv-price {
  font-family: var(--font-product-en);
  font-variant-numeric: lining-nums tabular-nums;
}

body.shop-page .card-title-text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

body.shop-page .wrap,
body.shop-page > main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px 36px;
  box-sizing: border-box;
}

body.shop-page #list {
  width: 100%;
}

a.card-img-link {
  display: block;
  line-height: 0;
  color: inherit;
  text-decoration: none;
}

a.card-img-link img {
  width: 100%;
  height: auto;
  display: block;
}

.shop-empty-soon {
  max-width: 520px;
  margin: 32px auto 48px;
  padding: 28px 24px;
  text-align: center;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 12px;
}

.shop-empty-soon-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.shop-empty-soon-text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #555;
}

.shop-empty-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.shop-empty-soon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.shop-empty-soon-btn--dark {
  background: #111;
  border-color: #111;
  color: #fff;
}

body.shop-page #site-footer-mount {
  flex-shrink: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.shop-page .shop-breadcrumb {
  margin-top: 4px;
}

body.shop-page .shop-breadcrumb--mobile {
  padding-left: 2px;
}
