/* Shop catalog hero + channel/status tabs (Icchibunny Soft Pink Kuji) */

.woocommerce-shop #page-title-bar,
.tax-product_brand #page-title-bar,
.tax-product_cat #page-title-bar {
  background: transparent;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

.woocommerce-shop #page-title-bar .page-title-bar-bg,
.tax-product_brand #page-title-bar .page-title-bar-bg,
.tax-product_cat #page-title-bar .page-title-bar-bg,
.woocommerce-shop #page-title-bar .page-breadcrumb,
.tax-product_brand #page-title-bar .page-breadcrumb,
.tax-product_cat #page-title-bar .page-breadcrumb,
.woocommerce-shop #page-title-bar .page-title-bar-inner,
.tax-product_brand #page-title-bar .page-title-bar-inner,
.tax-product_cat #page-title-bar .page-title-bar-inner,
.woocommerce-shop #page-title-bar .page-title-bar-heading,
.tax-product_brand #page-title-bar .page-title-bar-heading,
.tax-product_cat #page-title-bar .page-title-bar-heading,
.woocommerce-shop #page-title-bar .hero,
.tax-product_brand #page-title-bar .hero,
.tax-product_cat #page-title-bar .hero,
.woocommerce-shop .product-type-switcher,
.tax-product_brand .product-type-switcher,
.tax-product_cat .product-type-switcher,
.woocommerce-shop .current-category,
.tax-product_brand .current-category,
.tax-product_cat .current-category,
.woocommerce-shop .bg-img-container,
.tax-product_brand .bg-img-container,
.tax-product_cat .bg-img-container {
  display: none !important;
}

.woocommerce-shop .page-content,
.tax-product_brand .page-content,
.tax-product_cat .page-content {
  background: #fdf3fc;
}

.woocommerce-shop ::selection,
.tax-product_brand ::selection,
.tax-product_cat ::selection {
  background: #f9a8a8;
  color: #1e0700;
}

.shop-hero {
  position: relative;
  /* Sits above .page-content (also position:relative, later in DOM) so the
     channel pill's 24px overhang is not painted over by the pink background. */
  z-index: 1;
  height: 420px;
  /* No bottom margin: it collapsed out of #page-title-bar (padding/margin 0)
     and showed as a white band between the hero and the catalog. */
  margin-bottom: 0;
  overflow: visible;
  background: #f6e8f3;
}

.shop-hero__scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-bottom-left-radius: 0;
}

.shop-hero__scene picture {
  display: block;
  width: 100%;
  height: 100%;
}

.shop-hero__scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
}

.shop-hero__shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 78% 70% at 50% 42%,
    rgba(253, 243, 252, 0.9) 0%,
    rgba(253, 243, 252, 0.62) 42%,
    rgba(253, 243, 252, 0.18) 72%,
    transparent 100%
  );
  pointer-events: none;
}

.shop-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shop-hero__copy {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100% - 48px));
  text-align: center;
  z-index: 3;
}

.shop-hero__title {
  margin: 0 auto;
  max-width: none;
  font-family: Satoshi, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #1e0700;
  text-align: center;
}

.shop-hero__title em {
  font-style: normal;
  color: #d94f6e;
}

.shop-hero__lede {
  margin: 14px auto 0;
  max-width: 42ch;
  font-family: Satoshi, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(30, 7, 0, 0.7);
  text-align: center;
}

.shop-channel {
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(24px);
  display: flex;
  width: 100%;
  max-width: 560px;
  padding: 4px;
  background: #fff;
  border: 1px solid #0000001a;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(30, 7, 0, 0.08);
}

.shop-channel__tab {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: Satoshi, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #1e0700 !important;
  background: transparent;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.shop-channel__tab:hover {
  color: #d94f6e !important;
}

.shop-channel__tab.is-active,
.shop-channel__tab.is-active:hover {
  background: #d94f6e;
  color: #fff !important;
}

.shop-channel__tab:focus-visible,
.shop-status__chip:focus-visible,
.shop-empty__link:focus-visible {
  outline: 2px solid #d94f6e;
  outline-offset: 3px;
}

.shop-channel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e24b4b;
  box-shadow: 0 0 0 3px rgba(226, 75, 75, 0.18);
  flex: 0 0 auto;
}

.shop-status-bar {
  margin: 0;
  padding: 0;
  background: transparent;
}

.woocommerce-shop .shop-archive-block > .row-flex {
  position: sticky;
  top: 0;
  z-index: 30;
  align-items: center;
  background: #fdf3fc;
  padding: 20px 0 12px;
  margin-bottom: 16px;
  margin-top: 12px;
}

.shop-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop-status__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #0000001a;
  background: #fff;
  color: #1e0700 !important;
  font-family: Satoshi, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.shop-status__chip:hover {
  border-color: rgba(217, 79, 110, 0.45);
  color: #d94f6e !important;
}

.shop-status__chip.is-active,
.shop-status__chip.is-active:hover {
  background: #1e0700;
  border-color: #1e0700;
  color: #fff !important;
}

.shop-status__n {
  font-size: 12px;
  font-weight: 500;
  color: rgba(30, 7, 0, 0.55);
}

.shop-status__chip.is-active .shop-status__n {
  color: rgba(255, 255, 255, 0.72);
}

.woocommerce-shop .shop-archive-block {
  padding: 16px 0 96px;
}

body:has(.shop-empty) .shop-actions-toolbar-right {
  display: none;
}

.shop-empty {
  max-width: 1024px;
  margin: 24px auto 72px;
  padding: 48px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #0000001a;
  border-radius: 12px;
}

.shop-empty__title {
  margin: 0;
  font-family: Satoshi, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #1e0700;
}

.shop-empty__body {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(30, 7, 0, 0.7);
}

.shop-empty__link {
  display: inline-flex;
  margin-top: 20px;
  padding: 11px 20px;
  border-radius: 12px;
  background: #d94f6e;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
}

.shop-empty__link:hover {
  background: #b83a58;
}

@media (max-width: 767px) {
  .shop-hero {
    height: 340px;
  }

  .shop-hero__scene img {
    object-position: center 42%;
  }

  .shop-hero__inner {
    padding: 0 16px;
  }

  .shop-hero__copy {
    top: 42%;
    width: calc(100% - 32px);
  }

  .shop-hero__title {
    font-size: 32px;
  }

  .shop-hero__lede {
    font-size: 15px;
    max-width: 34ch;
  }

  .shop-channel {
    max-width: 100%;
  }

  .shop-channel__tab {
    height: 44px;
    font-size: 13px;
    padding: 0 10px;
  }

  .woocommerce-shop .shop-archive-block > .row-flex {
    margin-top: 32px;
    padding: 12px 0 8px;
  }

  .shop-status {
    flex-wrap: wrap;
    overflow: visible;
  }

  .shop-status__chip {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .shop-catalog-toolbar,
  .woocommerce-shop .shop-archive-block > .row-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-channel__tab,
  .shop-status__chip,
  .shop-empty__link {
    transition: none;
  }
}
