/* =========================================================
   Mewepak FSE — custom CSS
   Header & footer are now driven entirely by Tailwind classes
   (parts/header.html, parts/footer.html). This file keeps only
   small effects and helpers Tailwind/theme.json cannot easily express.
   ========================================================= */

/* Header current-section state. Kept separate from hover mega-menu active state. */
[data-nav] a[data-nav-link].is-current {
  color: #00cfca !important;
}

[data-nav] a[data-nav-link].is-current svg {
  color: #00cfca !important;
}

[data-nav] a[data-nav-link]:not(.is-current) {
  color: #374151 !important;
}

/* Search page hard overrides: keep this page compact even when block/global styles win. */
.mewepak-category-menu-link {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  width: 100%;
  min-height: 3.65rem;
  text-decoration: none;
}

.mewepak-category-menu-thumb {
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.9rem;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fafc 0%, #eef6f8 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.mewepak-category-menu-thumb__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mewepak-category-menu-thumb[data-category-menu-thumb="placeholder"] .mewepak-category-menu-thumb__image {
  object-fit: contain;
  padding: 0.35rem;
}

.mewepak-category-menu-copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: 0.06rem;
  padding-top: 0.02rem;
}

.mewepak-category-menu-title {
  color: #0f172a;
  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1.22;
}

.mewepak-category-menu-description {
  color: #64748b;
  font-size: 0.77rem;
  line-height: 1.24;
  display: block;
  overflow: visible;
}

.mewepak-products-mega-panel {
  left: 0;
  right: 0;
  width: auto;
  border-top: 0;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
}

[data-mega-panel="Products"] {
  width: 100%;
}

.mewepak-products-mega-shell {
  max-width: 80rem;
  margin: 0 auto;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}

.mewepak-products-mega-grid {
  grid-template-columns: minmax(0, 2.25fr) minmax(15.5rem, 0.78fr);
  gap: 1.5rem;
  align-items: start;
}

.mewepak-products-mega-grid > .col-span-8,
.mewepak-products-mega-grid > .col-span-4 {
  grid-column: auto !important;
}

.mewepak-products-mega-main {
  min-width: 0;
}

.mewepak-products-mega-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.mewepak-products-mega-column {
  min-width: 0;
}

@media (min-width: 721px) {
  .mewepak-products-mega-columns {
    row-gap: 0;
  }

  .mewepak-products-mega-column {
    display: contents;
  }

  [data-products-group-heading="pouch-formats"] {
    grid-area: 1 / 1 / 2 / 3;
  }

  [data-products-group-heading="specialty-packaging"] {
    grid-area: 1 / 3;
  }

  .mewepak-products-mega-list--pouch-primary {
    grid-area: 2 / 1;
  }

  .mewepak-products-mega-list--pouch-secondary {
    grid-area: 2 / 2;
  }

  .mewepak-products-mega-list--specialty {
    grid-area: 2 / 3;
  }
}

.mewepak-products-mega-heading {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
}

.mewepak-products-mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mewepak-products-mega-list > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0;
}

.mewepak-products-mega-list.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
}

.mewepak-products-mega-list a {
  display: inline-block;
}

[data-mega-panel="Products"] .mewepak-products-menu-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  width: 100%;
  min-height: 4.5rem;
  gap: 0.75rem;
  padding: 0.16rem 0.16rem 0.16rem 0;
  border-radius: 0.75rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

[data-mega-panel="Products"] .mewepak-products-menu-row:hover,
[data-mega-panel="Products"] .mewepak-products-menu-row:focus-visible {
  background: rgba(0, 207, 202, 0.04);
  box-shadow: none;
  outline: none;
}

[data-mega-panel="Products"] .mewepak-products-menu-row .mewepak-category-menu-thumb {
  display: inline-flex !important;
  flex: 0 0 4rem !important;
  width: 4rem !important;
  height: 4rem !important;
  border-radius: 0.75rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
}

[data-mega-panel="Products"] .mewepak-products-menu-row .mewepak-category-menu-copy {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0;
  flex-direction: column !important;
  gap: 0.12rem;
  padding-top: 0;
}

[data-mega-panel="Products"] .mewepak-products-menu-row .mewepak-category-menu-title {
  font-size: 0.88rem;
  line-height: 1.16;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-mega-panel="Products"] .mewepak-products-menu-row .mewepak-category-menu-description {
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.mewepak-products-mega-feature {
  display: block;
  min-width: 0;
}

[data-mobile-group="Products"] [data-mobile-group-panel] > .mewepak-category-menu-link {
  border-radius: 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-mobile-group="Products"] [data-mobile-group-panel] > .mewepak-category-menu-link:hover,
[data-mobile-group="Products"] [data-mobile-group-panel] > .mewepak-category-menu-link:focus-visible {
  background: rgba(0, 207, 202, 0.05);
  border-color: rgba(0, 207, 202, 0.14);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
  outline: none;
}

[data-mobile-group="Products"] [data-mobile-group-panel] > .mewepak-category-menu-link {
  min-height: 4rem;
  gap: 0.75rem;
}

[data-mobile-group="Products"] [data-mobile-group-panel] > .mewepak-category-menu-link .mewepak-category-menu-thumb {
  flex-basis: 3.6rem;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.95rem;
}

[data-mobile-group="Products"] [data-mobile-group-panel] > .mewepak-category-menu-link .mewepak-category-menu-title {
  font-size: 0.92rem;
}

[data-mobile-group="Products"] [data-mobile-group-panel] > .mewepak-category-menu-link .mewepak-category-menu-description {
  font-size: 0.78rem;
}

@media (max-width: 1200px) {
  .mewepak-products-mega-shell {
    max-width: 76rem;
  }

  .mewepak-products-mega-grid {
    grid-template-columns: minmax(0, 2.05fr) minmax(14.5rem, 0.82fr);
    gap: 1.2rem;
  }

  .mewepak-products-mega-columns {
    column-gap: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .mewepak-products-mega-panel {
    left: 0.5rem;
    right: 0.5rem;
  }

  [data-mega-panel="Products"] {
    width: auto;
  }

  .mewepak-products-mega-shell {
    max-width: none;
  }

  .mewepak-products-mega-grid {
    grid-template-columns: minmax(0, 1.78fr) minmax(12rem, 0.76fr);
    gap: 0.95rem;
  }

  .mewepak-products-mega-columns {
    column-gap: 0.7rem;
  }

  [data-mega-panel="Products"] .mewepak-products-menu-row {
    min-height: 4.5rem;
    gap: 0.7rem;
  }

  [data-mega-panel="Products"] .mewepak-products-menu-row .mewepak-category-menu-thumb {
    flex: 0 0 4rem;
    width: 4rem;
    height: 4rem;
  }

  [data-mega-panel="Products"] .mewepak-products-menu-row .mewepak-category-menu-title {
    font-size: 0.86rem;
  }

  [data-mega-panel="Products"] .mewepak-products-menu-row .mewepak-category-menu-description {
    font-size: 0.7rem;
  }

  .mewepak-products-mega-feature .p-6 {
    padding: 1.05rem;
  }

  .mewepak-products-mega-feature .text-xl,
  .mewepak-products-mega-feature .\!text-xl {
    font-size: 1rem;
    line-height: 1.3;
  }

  .mewepak-products-mega-feature .mb-5 {
    margin-bottom: 0.7rem;
  }

  .mewepak-products-mega-feature .mb-3 {
    margin-bottom: 0.45rem;
  }

  .mewepak-products-mega-feature .mt-2 {
    margin-top: 0.35rem;
  }

  .mewepak-products-mega-feature .h-10 {
    height: 2.35rem;
  }

  .mewepak-products-mega-feature .px-5 {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .mewepak-products-mega-feature .text-sm {
    font-size: 0.76rem;
    line-height: 1.35;
  }
}

@media (max-width: 780px) {
  .mewepak-products-mega-panel {
    left: 0.4rem;
    right: 0.4rem;
  }

  [data-mega-panel="Products"] {
    width: auto;
  }

  .mewepak-products-mega-shell {
    max-width: none;
  }

  .mewepak-products-mega-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(9.75rem, 0.72fr);
    gap: 0.65rem;
  }

  .mewepak-products-mega-columns {
    column-gap: 0.5rem;
  }

  .mewepak-products-mega-feature {
    display: block;
  }

  [data-mega-panel="Products"] .mewepak-products-menu-row {
    min-height: 4.5rem;
    gap: 0.65rem;
  }

  [data-mega-panel="Products"] .mewepak-products-menu-row .mewepak-category-menu-thumb {
    flex: 0 0 4rem;
    width: 4rem;
    height: 4rem;
  }

  [data-mega-panel="Products"] .mewepak-products-menu-row .mewepak-category-menu-title {
    font-size: 0.82rem;
    line-height: 1.12;
  }

  [data-mega-panel="Products"] .mewepak-products-menu-row .mewepak-category-menu-description {
    font-size: 0.68rem;
    line-height: 1.12;
  }

  .mewepak-products-mega-feature .p-6 {
    padding: 0.85rem;
  }

  .mewepak-products-mega-feature .text-xl,
  .mewepak-products-mega-feature .\!text-xl {
    font-size: 0.92rem;
    line-height: 1.22;
  }

  .mewepak-products-mega-feature .text-sm {
    font-size: 0.71rem;
    line-height: 1.26;
  }

  .mewepak-products-mega-feature .mb-5 {
    margin-bottom: 0.45rem;
  }

  .mewepak-products-mega-feature .mb-3 {
    margin-bottom: 0.35rem;
  }
}

@media (max-width: 720px) {
  .mewepak-products-mega-columns {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.5rem;
  }
}

@media (max-width: 640px) {
  .mewepak-category-menu-link {
    min-height: 3.9rem;
    gap: 0.7rem;
  }

  .mewepak-category-menu-thumb {
    flex-basis: 3.1rem;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 0.85rem;
  }
}

.mewepak-category-gallery {
  width: min(100%, 24rem);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.mewepak-category-gallery__thumb {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 1;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.mewepak-category-gallery__thumb:hover,
.mewepak-category-gallery__thumb:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(0, 207, 202, 0.55);
  box-shadow: 0 16px 34px rgba(0, 207, 202, 0.15);
  outline: none;
}

.mewepak-category-gallery__thumb.is-active {
  border-color: #00cfca;
  box-shadow: 0 18px 40px rgba(0, 207, 202, 0.22);
}

.mewepak-category-hero-media {
  transition: opacity 0.2s ease;
}

@media (max-width: 640px) {
  .mewepak-category-gallery {
    width: 100%;
    gap: 0.6rem;
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(3.8rem, 1fr));
    padding-bottom: 0.25rem;
  }
}

.mewepak-search-page .mewepak-search-eyebrow {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mewepak-search-page > section:first-child {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.mewepak-search-page > section:first-child > .relative {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.mewepak-search-page h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  line-height: 1.04 !important;
  margin-bottom: 1rem !important;
}

.mewepak-search-page form[role="search"] {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.mewepak-search-page form[role="search"] input[type="search"] {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  height: 3rem !important;
  padding-right: 1rem !important;
}

.mewepak-search-page form[role="search"] button[type="submit"] {
  position: static !important;
  transform: none !important;
  flex: 0 0 auto !important;
  height: 2.75rem !important;
  min-width: 5.75rem !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  border-radius: 9999px !important;
}

.mewepak-search-page > section:nth-child(2) {
  padding-top: 2rem !important;
  padding-bottom: 2.5rem !important;
}

@media (min-width: 1024px) {
  .mewepak-search-page > section:first-child > .relative {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }
}

.mewepak-header-logo {
  display: block;
  width: auto !important;
  height: 3rem !important;
  max-width: 18rem;
  object-fit: contain;
}

.mewepak-footer-logo {
  display: block;
  width: auto !important;
  height: 2.5rem !important;
  max-width: 14rem;
  object-fit: contain;
}

.mewepak-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mewepak-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wp--preset--shadow--lift);
  border-color: rgba(0, 207, 202, 0.4);
}

.mewepak-card img {
  transition: transform 0.5s ease;
}

.mewepak-card:hover img {
  transform: scale(1.05);
}

.mewepak-ratio-4-3 img,
.mewepak-ratio-4-3 .wp-block-image img {
  aspect-ratio: 4 / 3;
}

.mewepak-ratio-1-1 img,
.mewepak-ratio-1-1 .wp-block-image img {
  aspect-ratio: 1 / 1;
}

.mewepak-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.mewepak-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.mewepak-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--wp--preset--color--accent);
}

.mewepak-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--wp--preset--color--accent);
  display: inline-block;
}

/* Hero slider — fade between slides */
.hero-fade {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero-fade.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Product category carousel — still used on single product page */
.mewepak-cosmic-carousel-section {
  background:
    radial-gradient(circle at 22% 28%, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 24%),
    radial-gradient(circle at 74% 22%, rgba(167, 139, 250, 0.14) 0%, rgba(167, 139, 250, 0) 26%),
    radial-gradient(circle at 50% 78%, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0) 30%),
    linear-gradient(180deg, #060b17 0%, #091223 48%, #0d1a31 100%);
}

.mewepak-cosmic-carousel-section::before,
.mewepak-cosmic-carousel-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mewepak-cosmic-carousel-section::before {
  background: radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.035), rgba(255,255,255,0) 32%);
}

.mewepak-cosmic-carousel-section::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0) 14%, rgba(255,255,255,0) 86%, rgba(255,255,255,0.025));
  mix-blend-mode: screen;
}

.mewepak-cosmic-carousel-backdrop {
  background:
    radial-gradient(circle at 6% 14%, rgba(255,255,255,0.62) 0 0.8px, transparent 1.5px),
    radial-gradient(circle at 10% 34%, rgba(255,255,255,0.42) 0 0.75px, transparent 1.45px),
    radial-gradient(circle at 14% 64%, rgba(255,255,255,0.5) 0 0.8px, transparent 1.5px),
    radial-gradient(circle at 20% 22%, rgba(255,255,255,0.36) 0 0.75px, transparent 1.4px),
    radial-gradient(circle at 24% 48%, rgba(255,255,255,0.48) 0 0.82px, transparent 1.5px),
    radial-gradient(circle at 30% 78%, rgba(255,255,255,0.38) 0 0.75px, transparent 1.4px),
    radial-gradient(circle at 36% 16%, rgba(255,255,255,0.46) 0 0.8px, transparent 1.45px),
    radial-gradient(circle at 40% 38%, rgba(255,255,255,0.34) 0 0.75px, transparent 1.4px),
    radial-gradient(circle at 46% 28%, rgba(255,255,255,0.82) 0 0.95px, transparent 1.6px),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.54) 0 0.8px, transparent 1.45px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,1) 0 1.15px, rgba(255,255,255,0.8) 1.6px, transparent 3px),
    radial-gradient(circle at 54% 36%, rgba(255,255,255,0.44) 0 0.78px, transparent 1.45px),
    radial-gradient(circle at 58% 58%, rgba(255,255,255,0.36) 0 0.75px, transparent 1.4px),
    radial-gradient(circle at 64% 24%, rgba(255,255,255,0.46) 0 0.8px, transparent 1.45px),
    radial-gradient(circle at 70% 46%, rgba(255,255,255,0.4) 0 0.76px, transparent 1.42px),
    radial-gradient(circle at 76% 18%, rgba(255,255,255,0.58) 0 0.85px, transparent 1.55px),
    radial-gradient(circle at 82% 62%, rgba(255,255,255,0.42) 0 0.78px, transparent 1.46px),
    radial-gradient(circle at 88% 30%, rgba(255,255,255,0.5) 0 0.82px, transparent 1.5px),
    radial-gradient(circle at 94% 72%, rgba(255,255,255,0.44) 0 0.78px, transparent 1.46px),
    radial-gradient(circle at 98% 22%, rgba(255,255,255,0.62) 0 0.84px, transparent 1.55px),
    radial-gradient(ellipse at 50% 50%, rgba(85, 170, 255, 0.22) 0%, rgba(61, 144, 255, 0.18) 10%, rgba(43, 112, 235, 0.1) 24%, rgba(28, 82, 190, 0) 42%),
    radial-gradient(ellipse at 50% 50%, rgba(126, 198, 255, 0.14) 0%, rgba(126, 198, 255, 0.08) 14%, rgba(126, 198, 255, 0) 28%),
    radial-gradient(ellipse at 34% 48%, rgba(54, 139, 255, 0.12) 0%, rgba(54, 139, 255, 0.05) 16%, rgba(54, 139, 255, 0) 30%),
    radial-gradient(ellipse at 66% 50%, rgba(54, 139, 255, 0.12) 0%, rgba(54, 139, 255, 0.05) 16%, rgba(54, 139, 255, 0) 30%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.04) 8%, rgba(255,255,255,0) 18%),
    linear-gradient(180deg, rgba(13, 29, 51, 0.92) 0%, #081326 12%, #0a1730 100%);
}

.mewepak-cosmic-carousel-transition {
  background:
    linear-gradient(180deg, rgba(15, 29, 51, 0) 0%, rgba(15, 29, 51, 0.2) 18%, rgba(15, 29, 51, 0.54) 42%, rgba(10, 19, 37, 0.86) 72%, rgba(8, 19, 37, 0) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 52%);
}

.mewepak-cosmic-carousel-floor {
  background:
    radial-gradient(ellipse at center, rgba(77, 159, 255, 0.1) 0%, rgba(77, 159, 255, 0.045) 18%, rgba(77, 159, 255, 0) 36%),
    linear-gradient(to top, rgba(20, 40, 72, 0.62) 0%, rgba(12, 28, 54, 0.22) 24%, transparent 100%);
}

.mewepak-category-carousel {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.mewepak-category-carousel__viewport {
  overflow: hidden;
  padding: 2rem 3.25rem 1rem;
}

.mewepak-cosmic-carousel-section .mewepak-category-carousel__viewport {
  position: relative;
}

.mewepak-cosmic-carousel-section .mewepak-category-carousel__viewport::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.35rem;
  height: 7rem;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0.06) 32%, rgba(37, 99, 235, 0) 72%);
  filter: blur(12px);
  pointer-events: none;
}

.mewepak-category-carousel__stage {
  position: relative;
  height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mewepak-category-carousel__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10.25rem;
  height: 13.9rem;
  transform: translate(-50%, -50%) scale(0.68);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease, filter 0.32s ease;
}

.mewepak-category-carousel__card {
  width: 100%;
  height: 100%;
  position: relative;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  padding: 0.5rem;
  display: block;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.mewepak-category-carousel__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 24%);
  pointer-events: none;
}

.mewepak-category-carousel__card::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  height: 4.4rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(8, 15, 30, 0) 0%, rgba(8, 15, 30, 0.15) 22%, rgba(8, 15, 30, 0.78) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mewepak-category-carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 1.2rem;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 18px rgba(15, 23, 42, 0.1));
}

.mewepak-category-carousel__title {
  position: absolute;
  left: 1.15rem;
  right: 1.15rem;
  bottom: 1rem;
  z-index: 1;
  margin: 0 !important;
  padding: 0;
  color: #ffffff !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.015em;
  text-align: center;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(0.18rem);
}

.mewepak-category-carousel__slide.is-center {
  width: 13.1rem;
  height: 16rem;
  transform: translate(-50%, -50%) scale(1.08);
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  filter: none;
}

.mewepak-category-carousel__slide.is-center .mewepak-category-carousel__card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.34);
  padding: 0.65rem;
  box-shadow: 0 32px 64px rgba(3, 7, 18, 0.34);
}

.mewepak-category-carousel__slide.is-center .mewepak-category-carousel__card::after {
  opacity: 1;
}

.mewepak-category-carousel__slide.is-center .mewepak-category-carousel__image {
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.12));
}

.mewepak-category-carousel__slide.is-center .mewepak-category-carousel__title {
  opacity: 1;
  transform: translateY(0);
  left: 1rem;
  right: 1rem;
  bottom: 0.8rem;
  font-size: 0.9rem !important;
  line-height: 1.08 !important;
}

.mewepak-category-carousel__slide.is-adjacent-left {
  transform: translate(calc(-50% - 12.25rem), -50%) scale(0.88);
  opacity: 0.54;
  z-index: 5;
  pointer-events: auto;
  filter: saturate(0.84);
}

.mewepak-category-carousel__slide.is-adjacent-right {
  transform: translate(calc(-50% + 12.25rem), -50%) scale(0.88);
  opacity: 0.54;
  z-index: 5;
  pointer-events: auto;
  filter: saturate(0.84);
}

.mewepak-category-carousel__slide.is-adjacent-left .mewepak-category-carousel__card,
.mewepak-category-carousel__slide.is-adjacent-right .mewepak-category-carousel__card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  padding: 0.45rem;
  box-shadow: 0 14px 28px rgba(2, 8, 23, 0.16);
}

.mewepak-category-carousel__slide.is-adjacent-left .mewepak-category-carousel__card::after,
.mewepak-category-carousel__slide.is-adjacent-right .mewepak-category-carousel__card::after {
  opacity: 0;
}

.mewepak-category-carousel__slide.is-adjacent-left .mewepak-category-carousel__title,
.mewepak-category-carousel__slide.is-adjacent-right .mewepak-category-carousel__title {
  opacity: 0;
}

.mewepak-category-carousel__slide.is-adjacent-left .mewepak-category-carousel__image,
.mewepak-category-carousel__slide.is-adjacent-right .mewepak-category-carousel__image {
  filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.08));
}

.mewepak-category-carousel__slide.is-outer-left {
  transform: translate(calc(-50% - 22.25rem), -50%) scale(0.66);
  opacity: 0.24;
  z-index: 2;
  filter: saturate(0.72);
}

.mewepak-category-carousel__slide.is-outer-right {
  transform: translate(calc(-50% + 22.25rem), -50%) scale(0.66);
  opacity: 0.24;
  z-index: 2;
  filter: saturate(0.72);
}
.mewepak-category-carousel__slide.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.mewepak-category-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 9999px;
  background: #fff;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mewepak-cosmic-carousel-section .mewepak-category-carousel__arrow {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 14px 34px rgba(2, 8, 23, 0.28);
}

.mewepak-category-carousel__arrow:hover {
  background: #f9fafb;
  color: #0a1628;
  transform: translateY(-50%) scale(1.04);
}

.mewepak-category-carousel__arrow--prev {
  left: 0;
}

.mewepak-category-carousel__arrow--next {
  right: 0;
}

.mewepak-category-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.mewepak-category-carousel__dot {
  width: 0.625rem;
  height: 0.625rem;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.mewepak-category-carousel__dot.is-active {
  width: 1.5rem;
  background: #00cfca;
}

.mewepak-cosmic-carousel-section h2 {
  text-shadow: 0 8px 26px rgba(15, 23, 42, 0.38);
}

.mewepak-category-carousel.has-single-slide .mewepak-category-carousel__arrow,
.mewepak-category-carousel.has-single-slide .mewepak-category-carousel__dots {
  display: none;
}

.mewepak-markets-hero {
  display: grid;
  gap: 2rem;
}

.mewepak-markets-hero__signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 0.35rem;
}

.mewepak-markets-hero__signal {
  display: grid;
  gap: 0.22rem;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.mewepak-markets-hero__signal strong {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
}

.mewepak-markets-hero__signal span {
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.mewepak-markets-hero__scroll {
  display: flex;
  justify-content: center;
  padding-top: 0.1rem;
}

.mewepak-markets-hero__scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mewepak-markets-hero__scroll-link svg {
  width: 1rem;
  height: 1rem;
}

.mewepak-markets-hero__scroll-link:hover {
  color: #00cfca;
  transform: translateY(1px);
}

html {
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  .mewepak-markets-hero__signals {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.mewepak-market-hero__grid {
  min-height: 0;
}

.mewepak-market-hero .mewepak-reveal > .text-5xl {
  margin-bottom: 0.55rem;
  font-size: 2.85rem;
}

.mewepak-market-hero h1 {
  max-width: 12ch;
}

.mewepak-market-hero p {
  max-width: 34rem;
}

.mewepak-market-hero__visual {
  max-width: 27rem;
  margin-inline: auto;
  border-radius: 1.8rem;
}

.mewepak-market-hero__visual-icon {
  font-size: clamp(4.1rem, 8vw, 6.1rem);
  line-height: 1;
}

.mewepak-market-section__intro {
  display: grid;
  gap: 0.75rem;
}

.mewepak-market-gallery-grid .aspect-square {
  aspect-ratio: 1 / 0.88;
}

@media (max-width: 1023px) {
  .mewepak-market-hero__visual {
    max-width: 22rem;
  }
}

@media (max-width: 767px) {
  .mewepak-market-hero {
    padding-top: 2.4rem;
    padding-bottom: 2.6rem;
  }

  .mewepak-market-hero .mewepak-reveal > .text-5xl {
    margin-bottom: 0.45rem;
    font-size: 2.35rem;
  }

  .mewepak-market-hero__visual {
    max-width: 18rem;
    border-radius: 1.5rem;
  }

  .mewepak-market-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .mewepak-market-section__intro {
    gap: 0.6rem;
  }

  .mewepak-market-gallery-grid .aspect-square {
    aspect-ratio: 1 / 0.94;
  }
}

.mewepak-market-card {
  display: grid;
  grid-template-rows: auto auto minmax(2.2rem, 1fr) auto;
  height: 100%;
}

.mewepak-market-card__image {
  display: block;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.12));
  transition: transform 0.25s ease;
}

.mewepak-market-card:hover .mewepak-market-card__image {
  transform: translateY(-2px);
}

.mewepak-market-card__cta {
  width: fit-content;
  max-width: 100%;
  margin-top: 0.45rem;
  align-self: start;
  line-height: 1.2;
  box-shadow: 0 12px 28px rgba(0, 207, 202, 0.2);
}

.mewepak-market-card__cta svg {
  width: 0.9rem;
  height: 0.9rem;
}


@media (max-width: 767px) {
  .mewepak-market-card__cta {
    padding: 0.6rem 0.95rem;
    font-size: 0.82rem;
  }
}

.mewepak-category-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}

.mewepak-category-grid__meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.96));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.mewepak-category-grid__count {
  color: #0a1628;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.mewepak-category-grid__count-label {
  margin-top: 0.45rem;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.5;
}

.mewepak-category-grid__item {
  min-width: 0;
}

.mewepak-category-grid__link {
  display: block;
  color: inherit;
}

.mewepak-category-grid__media {
  overflow: hidden;
  border-radius: 2rem;
  aspect-ratio: 867 / 1024;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mewepak-category-grid__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.mewepak-category-grid__body {
  padding: 1rem 0.2rem 0;
  text-align: center;
}

.mewepak-category-grid__title {
  margin: 0 !important;
  color: #1e293b !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.02em;
}


.mewepak-category-grid__item:hover .mewepak-category-grid__media {
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12);
}

.mewepak-category-grid__item:hover .mewepak-category-grid__image {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.03);
}

.mewepak-category-partner {
  position: relative;
  background: #25104f;
}

.mewepak-category-partner::before {
  content: none;
}

.mewepak-category-partner > .max-w-7xl {
  position: relative;
}

.mewepak-category-partner .mewepak-eyebrow,
.mewepak-category-partner .mewepak-eyebrow::before {
  color: #22d3ee;
  background: #22d3ee;
}

.mewepak-category-partner h2 {
  color: #ffffff !important;
}

.mewepak-category-partner p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.mewepak-category-partner__layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.mewepak-category-partner__panel {
  border-radius: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 64px rgba(4, 10, 30, 0.24);
  backdrop-filter: blur(14px);
}

.mewepak-category-partner__panel-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mewepak-category-partner__flow {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.mewepak-category-partner__step {
  padding: 1.2rem 1.2rem 1.1rem;
  border-radius: 1.4rem;
  background: rgba(10, 22, 40, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mewepak-category-partner__step span {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: #86fff3;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mewepak-category-partner__step strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

.mewepak-category-partner__step p {
  margin: 0.55rem 0 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  line-height: 1.7 !important;
  font-size: 0.92rem !important;
}

.mewepak-category-value-card {
  background: #fff;
  border-radius: 2rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.mewepak-category-value-card__icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.25rem;
  color: #0f4c5c;
  background: linear-gradient(180deg, #e4faf5, #d5f7ea);
  border-radius: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mewepak-category-value-card__icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.mewepak-category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

.mewepak-category-showcase-card {
  display: block;
  text-align: center;
  color: inherit;
}

.mewepak-category-showcase-card__media {
  width: min(100%, 260px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.25rem;
  border-radius: 2rem;
  padding: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dcead8;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
}

.mewepak-category-showcase-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mewepak-category-showcase-card__title {
  margin: 0 !important;
  color: #334155 !important;
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.mewepak-category-annotation {
  position: relative;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 245, 224, 0.7) 0%, rgba(255, 245, 224, 0) 24%),
    linear-gradient(180deg, #fbfcfe 0%, #f3f6fa 52%, #edf2f7 100%);
}

.mewepak-category-annotation::before,
.mewepak-category-annotation::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 72px;
  pointer-events: none;
}

.mewepak-category-annotation::before {
  top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}

.mewepak-category-annotation::after {
  bottom: 0;
  background: linear-gradient(180deg, rgba(237, 242, 247, 0), rgba(255, 255, 255, 0.92));
}

.mewepak-category-annotation__stage {
  position: relative;
  min-height: 480px;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.56));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.mewepak-category-annotation__product {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(272px, 34vw);
  aspect-ratio: 867 / 1024;
  transform: translate(-50%, -50%);
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mewepak-category-annotation__point {
  position: absolute;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  max-width: 220px;
}

.mewepak-category-annotation__point strong {
  display: block;
  color: #1f2f44;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.mewepak-category-annotation__point p {
  margin: 0 !important;
  color: #5f6f75 !important;
  font-size: 0.86rem !important;
  line-height: 1.5 !important;
}

.mewepak-category-annotation__point--top {
  top: 2.1rem;
  left: 50%;
  transform: translateX(-50%);
  align-items: flex-start;
  text-align: left;
  max-width: 290px;
  padding-left: 5.6rem;
}

.mewepak-category-annotation__point--top .mewepak-category-annotation__badge {
  position: absolute;
  left: 0;
  top: 0.2rem;
}

.mewepak-category-annotation__point--left {
  top: 42%;
  left: calc(50% - 23rem);
}

.mewepak-category-annotation__point--right {
  top: 42%;
  right: calc(50% - 23rem);
}

.mewepak-category-annotation__point--bottom {
  right: calc(50% - 19rem);
  bottom: 3.2rem;
}

.mewepak-category-annotation__badge {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff8fcc 0%, #ff74c0 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 143, 204, 0.28);
  flex: 0 0 auto;
}

.mewepak-category-annotation__badge--icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.mewepak-category-annotation__badge--muted {
  background: #fff;
  color: #607089;
  border: 1px solid rgba(96, 112, 137, 0.22);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.mewepak-category-material-card {
  border-radius: 2.5rem;
  background: linear-gradient(180deg, #f8fbff 0%, #eef2f6 100%);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  padding: 2rem;
}

.mewepak-category-material-card__layers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.mewepak-category-material-card__layers span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 9999px;
  background: #fff;
  color: #4b5563;
  font-size: 0.82rem;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}

.mewepak-category-material-card__visual {
  aspect-ratio: 1 / 1;
  border-radius: 2rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.mewepak-film-card {
  display: block;
  text-align: center;
  background: #fff;
  border-radius: 2rem;
  padding: 2rem 1.5rem 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mewepak-film-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.mewepak-film-card__icon {
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  color: #172033;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.mewepak-film-card__icon svg {
  width: 2.35rem;
  height: 2.35rem;
}

:where(.wp-site-blocks) > * {
  margin-block-start: 0;
}

.mewepak-product-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
}

.mewepak-tab-button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.mewepak-tab-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 100%;
  height: 2px;
  border-radius: 9999px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.mewepak-tab-button:hover {
  color: #0a1628;
}

.mewepak-tab-button.is-active {
  color: #0a1628;
}

.mewepak-tab-button.is-active::after {
  background: #00cfca;
}

.mewepak-single-product__media-stage {
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}

.mewepak-single-product__stage {
  isolation: isolate;
}

.mewepak-single-product__stage-orb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 30%, #13233c 0%, #0a1628 58%, #08111f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 28px 60px rgba(10, 22, 40, 0.16);
  z-index: 0;
}

.mewepak-single-product__stage-glow {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 44%;
  height: 16%;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(10, 22, 40, 0.18) 0%, rgba(10, 22, 40, 0.08) 42%, rgba(10, 22, 40, 0) 100%);
  filter: blur(18px);
  transform: translateX(-50%);
  z-index: 0;
}

.mewepak-single-product__gallery {
  aspect-ratio: 867 / 1024;
  width: min(100%, 20rem);
  margin-inline: auto;
  transform: translate(0, 0.25rem);
}

.mewepak-single-product__image {
  display: block;
}

@media (max-width: 1024px) {
  .mewepak-single-product__gallery {
    width: min(100%, 17rem);
    transform: translate(0, 0.2rem);
  }
}

@media (max-width: 640px) {
  .mewepak-single-product__gallery {
    width: min(100%, 15rem);
    transform: translate(0, 0.15rem);
  }
}

.mewepak-product-nav {
  display: grid;
  gap: 1.5rem;
}

.mewepak-product-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  color: #00cfca;
  font-size: 0.95rem;
  font-weight: 500;
}

.mewepak-product-nav__back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #ecfeff;
  color: #00cfca;
  font-size: 1.1rem;
  line-height: 1;
}

.mewepak-product-nav__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mewepak-product-nav__grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.mewepak-product-nav__card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mewepak-product-nav__card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 207, 202, 0.35);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.mewepak-product-nav__card--next {
  text-align: right;
  align-items: flex-end;
}

.mewepak-product-nav__label {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mewepak-product-nav__title {
  color: #0a1628;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .mewepak-category-carousel__viewport {
    padding: 1.5rem 2.5rem 0.75rem;
  }

  .mewepak-category-carousel__stage {
    height: 17.5rem;
  }

  .mewepak-category-carousel__slide.is-center {
    width: 11.5rem;
    height: 15rem;
  }

  .mewepak-category-carousel__slide.is-adjacent-left {
    transform: translate(calc(-50% - 8.45rem), -50%) scale(0.78);
    opacity: 0.42;
  }

  .mewepak-category-carousel__slide.is-adjacent-right {
    transform: translate(calc(-50% + 8.45rem), -50%) scale(0.78);
    opacity: 0.42;
  }

  .mewepak-category-carousel__slide.is-outer-left {
    transform: translate(calc(-50% - 15.25rem), -50%) scale(0.58);
    opacity: 0.16;
  }

  .mewepak-category-carousel__slide.is-outer-right {
    transform: translate(calc(-50% + 15.25rem), -50%) scale(0.58);
    opacity: 0.16;
  }

  .mewepak-product-tabs__list {
    gap: 0.65rem 1rem;
  }

  .mewepak-product-nav__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mewepak-product-nav__card--next {
    text-align: left;
    align-items: flex-start;
  }
}

.mewepak-category-path {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.mewepak-category-step-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding: 1.05rem 1.1rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.mewepak-category-step-card__num {
  width: 70px;
  height: 70px;
  border-radius: 1.2rem;
  background: #eff6f7;
  color: #0f766e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
}

.mewepak-booking-section {
  background: linear-gradient(180deg, #f4f9f5 0%, #edf5ee 100%);
}

.mewepak-booking-layout {
  display: grid;
}

@media (min-width: 1024px) {
  .mewepak-booking-layout {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: start;
  }
}

.mewepak-booking-schedule {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 1.6rem;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 0.75rem;
}

.mewepak-booking-schedule__header p {
  margin: 0 !important;
}

.mewepak-booking-schedule__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.mewepak-booking-schedule__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mewepak-booking-schedule__slot {
  min-width: 118px;
  padding: 0.85rem 1rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 0.28rem;
  justify-items: start;
}

.mewepak-booking-schedule__slot span {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.45rem;
  border-radius: 9999px;
  background: #eef7f8;
  color: #0f766e;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mewepak-booking-schedule__slot strong {
  color: #172033;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.mewepak-booking-schedule__note {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
}

@media (max-width: 1024px) {
  .mewepak-booking-schedule__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mewepak-booking-schedule__row {
    gap: 0.55rem;
  }
}

@media (max-width: 767px) {
  .mewepak-booking-schedule__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mewepak-booking-schedule__slot {
    min-width: calc(50% - 0.4rem);
  }
}

.mewepak-booking-card {
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.mewepak-booking-card__header {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #fbfcfd, #f2f5f8);
}

.mewepak-booking-card__body {
  padding: 1.25rem 1.35rem;
  display: grid;
  gap: 0.9rem;
}

.mewepak-booking-card__slot {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.mewepak-booking-card__slot span {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef7f8;
  color: #0f4c5c;
  font-weight: 700;
}

.mewepak-booking-card__slot strong {
  display: block;
  color: #172033;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.mewepak-booking-card__slot p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
}

.mewepak-booking-card__footer {
  padding: 1.15rem 1.35rem 1.35rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.75rem;
}

.mewepak-eco-samples {
  background: linear-gradient(180deg, #f7fbf8 0%, #eef6f1 100%);
}

.mewepak-eco-samples__panel {
  background: linear-gradient(135deg, #77ae79 0%, #679f6b 100%);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 24px 52px rgba(49, 94, 63, 0.18);
}

.mewepak-eco-samples__intro {
  text-align: center;
  max-width: 62rem;
  margin: 0 auto;
}

.mewepak-eco-samples__sample-row {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.mewepak-eco-samples__sample-art {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 1rem;
}

.mewepak-eco-samples__sample-copy {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 1024px) {
  .mewepak-eco-samples__panel {
    padding: 3rem 3.25rem;
  }

  .mewepak-eco-samples__sample-row {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .mewepak-eco-samples__sample-copy {
    margin: 0;
    text-align: left;
  }
}

.mewepak-industry-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.05);
  text-align: center;
}

.mewepak-industry-card__icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1.6rem;
  margin: 0 auto 1.3rem;
  background: linear-gradient(180deg, #fff, #f3f6f9);
  color: #223046;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.mewepak-industry-card__icon svg {
  width: 2.1rem;
  height: 2.1rem;
}

.mewepak-industry-card__title {
  margin: 0 0 0.7rem !important;
  color: #172033 !important;
  font-size: 1.45rem !important;
  font-weight: 600 !important;
}

.mewepak-industry-card__desc {
  margin: 0 !important;
  color: #64748b !important;
  line-height: 1.7 !important;
}

.mewepak-faq__item {
  background: #fff;
  border: 1px solid #d8e2ee;
  border-radius: 1.75rem;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.mewepak-faq__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
}

.mewepak-faq__summary::-webkit-details-marker {
  display: none;
}

.mewepak-faq__question {
  color: #172033;
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 500;
}

.mewepak-faq__icon {
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 auto;
  border-radius: 9999px;
  border: 1px solid #d1dae4;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.mewepak-faq__item[open] .mewepak-faq__icon {
  transform: rotate(180deg);
}

.mewepak-faq__answer {
  margin: 0 !important;
  padding: 0 1.5rem 1.5rem;
  color: #617285 !important;
  font-size: 1.1rem !important;
  line-height: 1.8 !important;
}

@media (min-width: 640px) {
  .mewepak-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mewepak-category-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .mewepak-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem 1.75rem;
  }

  .mewepak-category-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mewepak-category-partner__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .mewepak-explore-row--market {
    align-items: flex-start;
  }

  .mewepak-explore-grid--market {
    padding-top: 15rem;
  }
}

@media (max-width: 1023px) {
  .mewepak-category-partner::before {
    height: 120px;
  }

  .mewepak-category-annotation__stage {
    min-height: auto;
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
  }

  .mewepak-category-annotation__product,
  .mewepak-category-annotation__point {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
  }

  .mewepak-category-annotation__product {
    width: min(280px, 100%);
    margin: 0 auto 0.5rem;
  }
}

@media (max-width: 767px) {
  .mewepak-category-carousel__viewport {
    padding-inline: 2.75rem;
  }

  .mewepak-category-carousel__stage {
    height: 18rem;
  }

  .mewepak-category-carousel__slide.is-center {
    width: 11rem;
    height: 14.75rem;
  }

  .mewepak-category-carousel__slide.is-adjacent-left {
    transform: translate(calc(-50% - 8.25rem), -50%) scale(0.78);
    opacity: 0.36;
  }

  .mewepak-category-carousel__slide.is-adjacent-right {
    transform: translate(calc(-50% + 8.25rem), -50%) scale(0.78);
    opacity: 0.36;
  }

  .mewepak-category-carousel__slide.is-outer-left,
  .mewepak-category-carousel__slide.is-outer-right {
    opacity: 0;
    visibility: hidden;
  }

  .mewepak-category-carousel__arrow {
    width: 2.75rem;
    height: 2.75rem;
  }

  .mewepak-faq__question {
    font-size: 1.15rem;
  }

  .mewepak-faq__answer {
    font-size: 1rem !important;
  }
}

@media (min-width: 1024px) {
  .mewepak-category-carousel__stage {
    height: 24rem;
  }

  .mewepak-category-carousel__slide.is-center {
    width: 14rem;
    height: 18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mewepak-reveal,
  .mewepak-card,
  .mewepak-card img,
  .mewepak-category-carousel__slide,
  .mewepak-category-carousel__title,
  .mewepak-category-carousel__arrow,
  .mewepak-category-carousel__dot,
  .mewepak-category-grid__image,
  .mewepak-faq__icon {
    transition: none !important;
  }

  .mewepak-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Blog single (single.html) ─────────────────────────────── */

/* Category pill in the featured-image hero overlay */
.mewepak-pill a,
.mewepak-pill {
  display: inline-block;
  background: var(--wp--preset--color--accent);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}

/* Author / date meta on the dark hero */
.mewepak-meta-light,
.mewepak-meta-light a {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.875rem;
  text-decoration: none;
}

/* Article lede paragraph */
.mewepak-lede {
  color: var(--wp--preset--color--muted);
}

/* Long-form article body */
.mewepak-prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #334155;
}

.mewepak-prose > * + * {
  margin-top: 1.4em;
}

.mewepak-prose h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0a1628;
  margin-top: 2.2em;
}

.mewepak-prose h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #0a1628;
  margin-top: 1.8em;
}
